diff options
author | Max Christian Pohle | 2018-04-06 00:19:46 +0200 |
---|---|---|
committer | Max Christian Pohle | 2018-04-06 00:19:46 +0200 |
commit | 2135fa32813479d490dbfef3d18f92a28f4b81f6 (patch) | |
tree | ce2c428437595bed85a78832dd231adc14ad6c1a | |
parent | b38069598176016a9e0c76fc30564253e3bb603c (diff) | |
download | vim-2135fa32813479d490dbfef3d18f92a28f4b81f6.tar.bz2 vim-2135fa32813479d490dbfef3d18f92a28f4b81f6.zip |
Added command to add all buffers to the argument list
-rw-r--r-- | vimrc-full | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -700,6 +700,7 @@ let g:signify_cursorhold_insert = 0 | |||
700 | let g:signify_cursorhold_normal = 0 | 700 | let g:signify_cursorhold_normal = 0 |
701 | let g:signify_update_on_bufenter = 0 | 701 | let g:signify_update_on_bufenter = 0 |
702 | let g:signify_update_on_focusgained = 0 | 702 | let g:signify_update_on_focusgained = 0 |
703 | let g:signify_sign_show_count = 1 | ||
703 | 704 | ||
704 | " BUFEXPLORER: | " a buffer to list all buffers has the advantage, that default /-searches work in there | 705 | " BUFEXPLORER: | " a buffer to list all buffers has the advantage, that default /-searches work in there |
705 | Plug 'jlanzarotta/bufexplorer' | 706 | Plug 'jlanzarotta/bufexplorer' |
@@ -973,6 +974,7 @@ autocmd FileType c,cpp,objc map <buffer> = :pyf /usr/share/clang/clang-format.py | |||
973 | " found this command instead (use as PAGER): | 974 | " found this command instead (use as PAGER): |
974 | " man -P 'nvim -R -u NORC -c":%!col -b" -c":set buftype=nowrite filetype=man" -' ls | 975 | " man -P 'nvim -R -u NORC -c":%!col -b" -c":set buftype=nowrite filetype=man" -' ls |
975 | 976 | ||
977 | command BufToArg :exec ':args '.join(map(range(0, bufnr('$')), 'fnameescape(fnamemodify(bufname(v:val), ":."))')) | ||
976 | 978 | ||
977 | "======================================================================================================================= | 979 | "======================================================================================================================= |
978 | call plug#end() | " all plugins are getting loaded on this line, don't remove! | 980 | call plug#end() | " all plugins are getting loaded on this line, don't remove! |