aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2018-07-19 16:09:24 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2018-07-19 16:09:24 +0200
commitd28d09fe6613972f01014dfeb10344aee32c4ff6 (patch)
treeec0f5d3d3318a3a30294299f29e67d0a9cba1b3b
parent8b80e122e065c4da2f7badea7b0f937dcf7536a8 (diff)
downloaddotfiles-d28d09fe6613972f01014dfeb10344aee32c4ff6.tar.xz
nvim: Update mappings
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-rw-r--r--nvim/init.vim21
1 files changed, 8 insertions, 13 deletions
diff --git a/nvim/init.vim b/nvim/init.vim
index 9db6494..a54b1ec 100644
--- a/nvim/init.vim
+++ b/nvim/init.vim
@@ -113,18 +113,13 @@ autocmd VimResized * redraw!
" Mappings
"
-nmap <silent> <Leader>/ :nohlsearch<CR>
+nnoremap <silent> <Leader>/ :nohlsearch<CR>
" Easier window moving
-map <C-h> <C-w>h
-map <C-j> <C-w>j
-map <C-k> <C-w>k
-map <C-l> <C-w>l
-
-vmap <C-j> gj
-vmap <C-k> gk
-nmap <C-j> gj
-nmap <C-k> gk
-
-map <Leader>p :FzfFiles<CR>
-nmap <leader>b :FzfBuffers<CR>
+noremap <C-h> <C-w>h
+noremap <C-j> <C-w>j
+noremap <C-k> <C-w>k
+noremap <C-l> <C-w>l
+
+noremap <Leader>p :FzfFiles<CR>
+nnoremap <leader>b :FzfBuffers<CR>