aboutsummaryrefslogtreecommitdiff
path: root/.local/share/nvim/plugged/nnn.vim/plugin/nnn.vim
diff options
context:
space:
mode:
authorMarvin Borner2020-03-16 23:33:42 +0100
committerMarvin Borner2020-03-16 23:33:42 +0100
commit0e9ddbb0bf0cd34500155ea4b03de2e2a38d8ab2 (patch)
tree719da1c7fe5dabb872fe9ff1582c39b55ccd488e /.local/share/nvim/plugged/nnn.vim/plugin/nnn.vim
parente5d38956336ab1be954bdbd12808c5f98f8bd925 (diff)
Well I'm using Arch again
Diffstat (limited to '.local/share/nvim/plugged/nnn.vim/plugin/nnn.vim')
-rw-r--r--.local/share/nvim/plugged/nnn.vim/plugin/nnn.vim51
1 files changed, 0 insertions, 51 deletions
diff --git a/.local/share/nvim/plugged/nnn.vim/plugin/nnn.vim b/.local/share/nvim/plugged/nnn.vim/plugin/nnn.vim
deleted file mode 100644
index 8ea13d0..0000000
--- a/.local/share/nvim/plugged/nnn.vim/plugin/nnn.vim
+++ /dev/null
@@ -1,51 +0,0 @@
-if exists('g:nnn#loaded')
- finish
-endif
-let g:nnn#loaded = 1
-
-if !(exists("g:nnn#set_default_mappings"))
- let g:nnn#set_default_mappings = 1
-endif
-
-if !(exists("g:nnn#layout"))
- let g:nnn#layout = 'enew'
-endif
-
-if !(exists("g:nnn#action"))
- let g:nnn#action = {}
-endif
-
-if !(exists("g:nnn#command"))
- let g:nnn#command = 'nnn'
-endif
-
-if !(exists("g:nnn#replace_netrw"))
- let g:nnn#replace_netrw = 0
-endif
-
-if !(exists("g:nnn#statusline"))
- let g:nnn#statusline = 1
-endif
-
-command! -bar -nargs=? -complete=dir NnnPicker call nnn#pick(<f-args>)
-command! -bar -nargs=? -complete=dir Np call nnn#pick(<f-args>)
-
-if g:nnn#set_default_mappings
- nnoremap <silent> <leader>n :NnnPicker<CR>
-endif
-
-" To open nnn when vim load a directory
-if g:nnn#replace_netrw
- function! s:nnn_pick_on_load_dir(argv_path)
- let l:path = expand(a:argv_path)
- bdelete!
- call nnn#pick(l:path)
- endfunction
-
- augroup ReplaceNetrwByNnnVim
- autocmd VimEnter * silent! autocmd! FileExplorer
- autocmd BufEnter * if isdirectory(expand("%")) | call <SID>nnn_pick_on_load_dir("%") | endif
- augroup END
-endif
-
-" vim: set sts=4 sw=4 ts=4 et :