]> git.zndr.dk Git - dotfiles.git/commitdiff
Replace ranger with netranger in vim
authorJannik ZANDER <jannikz@gmail.com>
Mon, 16 Jul 2018 17:03:49 +0000 (19:03 +0200)
committerJannik ZANDER <jannikz@gmail.com>
Mon, 16 Jul 2018 17:03:49 +0000 (19:03 +0200)
.gitmodules
.vim/pack/github/opt/ranger.vim [deleted submodule]
.vim/pack/github/opt/vim-netranger [new submodule]
.vim/vimrc

index 40f8332488a7ac3360f8a84a243e5e7b453f1e7f..580289a1f91d039a566761313a588d665e2088e0 100644 (file)
@@ -28,9 +28,6 @@
 [submodule ".vim/pack/plugins/opt/ctrlp.vim"]
        path = .vim/pack/github/opt/ctrlp.vim
        url = https://github.com/ctrlpvim/ctrlp.vim.git
-[submodule ".vim/pack/github/opt/ranger.vim"]
-       path = .vim/pack/github/opt/ranger.vim
-       url = https://github.com/francoiscabrol/ranger.vim.git
 [submodule ".vim/pack/github/opt/bclose.vim"]
        path = .vim/pack/github/opt/bclose.vim
        url = https://github.com/rbgrouleff/bclose.vim.git
@@ -49,3 +46,6 @@
 [submodule ".vim/pack/github/opt/mesonic"]
        path = .vim/pack/github/opt/mesonic
        url = https://github.com/igankevich/mesonic.git
+[submodule ".vim/pack/github/opt/vim-netranger"]
+       path = .vim/pack/github/opt/vim-netranger
+       url = https://github.com/ipod825/vim-netranger.git
diff --git a/.vim/pack/github/opt/ranger.vim b/.vim/pack/github/opt/ranger.vim
deleted file mode 160000 (submodule)
index 118afa2..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 118afa234620bea927235e4bdbe2064fd7e15775
diff --git a/.vim/pack/github/opt/vim-netranger b/.vim/pack/github/opt/vim-netranger
new file mode 160000 (submodule)
index 0000000..c29312f
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit c29312ff545ec3349868442d6a0ff9f5183d2832
index 5aa0980268dadf29480b6311f18c7413cd36e5ff..4f46f5fc67839a81a27864865d109a0a4a792d85 100644 (file)
@@ -36,9 +36,11 @@ set relativenumber
 set titlestring=vim:\ %f
 
 " folding
-"set foldmethod=indent
-set foldopen+=jump,search
-"set foldclose=all
+set foldmethod=syntax
+set foldlevel=3
+set foldopen+=search
+set foldclose=all
+"set foldcolumn=4
 
 " keyboard
 let mapleader = ","
@@ -111,7 +113,7 @@ let &t_te.="\e[0 q"
 " make
 function! s:CmakeInit()
   let &errorformat="%f(%l) : %t%*\\D%n: %m,%*[^\"]\"%f\"%*\\D%l: %m,%f(%l) : %m,%*[^ ] %f %l: %m,%f:%l:%c:%m,%f(%l):%m,%f|%l| %m"
-  let &makeprg='cmake '
+  set makeprg=cmake
 endfunction
 command! -bang -nargs=0 -complete=file CmakeInit call s:CmakeInit(<f-args>)
 
@@ -165,9 +167,7 @@ let GtagsCscope_Quiet = 1
 packadd! vim-unimpaired
 
 " Ranger
-packadd! ranger.vim
-packadd! bclose.vim
-let g:ranger_replace_netrw = 1
+packadd! vim-netranger
 
 " Airline
 packadd! vim-airline
@@ -209,7 +209,6 @@ let g:asyncrun_auto = "make"
 command! -bang -nargs=* -complete=file Make AsyncRun -program=make @ <args>
 command! -bang -nargs=* -complete=file Grep AsyncRun -program=grep @ <args>
 
-
 " Error markers
 packadd errormarker.vim
 
@@ -228,6 +227,8 @@ nnoremap <silent> <c-p>     :bprev<cr>
 nnoremap <silent> <leader>+ :exe "resize " . (winheight(0) * 3/2)<cr>
 nnoremap <silent> <leader>- :exe "resize " . (winheight(0) * 2/3)<cr>
 nnoremap <silent> <cr>      :nohlsearch<bar>:echo<cr>
+nnoremap <leader>ev         :vsplit $MYVIMRC<cr>
+"nnoremap <leader>sv         :source $MYVIMRC<cr>
 
 " Insert mode Mappings
 inoremap <C-U> <C-G>u<C-U>