summaryrefslogtreecommitdiffstats
path: root/.config/nvim/bindings.vim
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-11-04 13:22:31 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-11-04 13:22:31 +0100
commit66fbfab34ff74fad6e2da45b8fb02d2df3712bb9 (patch)
tree744a1bff446e8982e40a4dfd93161e73ae058ee8 /.config/nvim/bindings.vim
parentRevert (diff)
downloaddotfiles-bsd-66fbfab34ff74fad6e2da45b8fb02d2df3712bb9.tar.gz
dotfiles-bsd-66fbfab34ff74fad6e2da45b8fb02d2df3712bb9.tar.bz2
dotfiles-bsd-66fbfab34ff74fad6e2da45b8fb02d2df3712bb9.tar.xz
dotfiles-bsd-66fbfab34ff74fad6e2da45b8fb02d2df3712bb9.tar.zst
dotfiles-bsd-66fbfab34ff74fad6e2da45b8fb02d2df3712bb9.zip
Fat update
Diffstat (limited to '.config/nvim/bindings.vim')
-rw-r--r--.config/nvim/bindings.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/nvim/bindings.vim b/.config/nvim/bindings.vim
index 4e7d776..d6219b9 100644
--- a/.config/nvim/bindings.vim
+++ b/.config/nvim/bindings.vim
@@ -13,7 +13,7 @@ nnoremap <C-o> <C-w>o
nnoremap <C-q> <C-w>q
nnoremap <silent> <leader> :WhichKey '\'<CR>
nnoremap <silent> <leader>b :Buffers<CR>
-nnoremap <leader>d :w<CR>:bp<CR>:bd #<CR>
+nnoremap <leader>d :bd<CR>
nnoremap <silent> <leader>e :Files<CR>
nnoremap <silent> <leader>ga :Ag<CR>
nnoremap <leader>gg :Grep<Space>
@@ -27,7 +27,7 @@ nnoremap <leader>w :w<CR>
nnoremap <leader>x :w<CR>:bp<CR>:bd #<CR>
let g:which_key_map.b = 'buffers'
let g:which_key_map.c = { 'name': '+nerd-commenter' }
-let g:which_key_map.d = 'write-and-close-buffer'
+let g:which_key_map.d = 'close-buffer'
let g:which_key_map.e = 'files'
let g:which_key_map.g = { 'name': '+grep' }
let g:which_key_map.g.a = 'the_silver_searcher'