]> git.zndr.dk Git - dotfiles.git/commitdiff
Terminal mappping next buf
authorJannik ZANDER <jannikz@gmail.com>
Tue, 17 Jul 2018 14:20:18 +0000 (16:20 +0200)
committerJannik ZANDER <jannikz@gmail.com>
Tue, 17 Jul 2018 14:20:18 +0000 (16:20 +0200)
.gitmodules
.vim/pack/github/opt/ranger.vim [new submodule]
.vim/vimrc

index 580289a1f91d039a566761313a588d665e2088e0..17b2b4515cc9c52b2548c240793c3d408f2eb29f 100644 (file)
@@ -49,3 +49,6 @@
 [submodule ".vim/pack/github/opt/vim-netranger"]
        path = .vim/pack/github/opt/vim-netranger
        url = https://github.com/ipod825/vim-netranger.git
+[submodule ".vim/pack/github/opt/ranger.vim"]
+       path = .vim/pack/github/opt/ranger.vim
+       url = https://github.com/francoiscabrol/ranger.vim.git
diff --git a/.vim/pack/github/opt/ranger.vim b/.vim/pack/github/opt/ranger.vim
new file mode 160000 (submodule)
index 0000000..118afa2
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit 118afa234620bea927235e4bdbe2064fd7e15775
index 6b65211782597fa173902c1db48ca800ed93e72c..55fc659e1a8647f111e81775317db3873c664093 100644 (file)
@@ -167,7 +167,8 @@ let GtagsCscope_Quiet = 1
 packadd! vim-unimpaired
 
 " Ranger
-"packadd! vim-netranger
+packadd! ranger.vim
+let g:ranger_replace_netrw = 1
 
 " Airline
 packadd! vim-airline
@@ -243,7 +244,8 @@ tnoremap <C-h>              <C-\><C-n><C-w>h
 tnoremap <C-j>              <C-\><C-n><C-w>j
 tnoremap <C-k>              <C-\><C-n><C-w>k
 tnoremap <C-l>              <C-\><C-n><C-w>l
-
+tnoremap <silent> <c-n>     <C-\><C-n>:bnext<cr>
+tnoremap <silent> <c-p>     <C-\><C-n>:bprev<cr>
 
 " Autocommands
 if has('autocmd')