summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-18 16:09:03 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-18 16:09:03 +0200
commitba100dbb72fb37c2ada97f2ee2a5ba3489eca134 (patch)
tree3e62919dc810123ea351c3d46dcc2df15f58f1ef
parentvimrc update again (diff)
downloaddotfiles-bsd-ba100dbb72fb37c2ada97f2ee2a5ba3489eca134.tar.gz
dotfiles-bsd-ba100dbb72fb37c2ada97f2ee2a5ba3489eca134.tar.bz2
dotfiles-bsd-ba100dbb72fb37c2ada97f2ee2a5ba3489eca134.tar.xz
dotfiles-bsd-ba100dbb72fb37c2ada97f2ee2a5ba3489eca134.tar.zst
dotfiles-bsd-ba100dbb72fb37c2ada97f2ee2a5ba3489eca134.zip
vimrc fix
Diffstat (limited to '')
-rw-r--r--.vimrc10
1 files changed, 5 insertions, 5 deletions
diff --git a/.vimrc b/.vimrc
index c948af6..0062d0c 100644
--- a/.vimrc
+++ b/.vimrc
@@ -65,7 +65,6 @@ colorscheme gruvbox-material
" Some quick bindings
nnoremap c "_c
-nnoremap <C-x>g :G<CR>
nnoremap <M-;> :call NERDComment(0,"toggle")<CR>
nnoremap <M-x> :
nnoremap <M-1> :!
@@ -81,10 +80,11 @@ nnoremap <C-x>1 <C-w>o
nnoremap <C-x>2 :sp<CR>
nnoremap <C-x>3 :vsp<CR>
nnoremap <C-x>0 <C-w>q
-nnoremap <leader>d :Vifm<CR>
+nnoremap <silent> <leader>g :G<CR>
+nnoremap <silent> <leader>d :Vifm<CR>
+nnoremap <silent> <leader>e :Files<CR>
+nnoremap <silent> <leader>b :Buffers<CR>
nnoremap <leader>s :w<CR>
-nnoremap <leader>e :Files<CR>
-nnoremap <leader>b :Buffers<CR>
nnoremap <leader>w :w <BAR> :bp <BAR> :bd #<CR>
nnoremap <leader>x :w <BAR> :bp <BAR> :bd #<CR>
nmap <leader>1 <Plug>AirlineSelectTab1
@@ -137,7 +137,7 @@ let g:sidebars = {
noremap <silent> <F1> :sp<CR><C-w>j:term<CR>:resize -10<CR>i
noremap <silent> <F2> :call sidebar#toggle('nerdtree')<CR>
-noremap <silent> <F4> :make<space>-j5<space>
+noremap <F4> :make<space>-j5<space>
noremap <silent> <F3> :call sidebar#toggle('tagbar')<CR>
noremap <silent> <F5> :call sidebar#toggle('undotree')<CR>
let g:startify_session_before_save = ['call sidebar#close_all()']