commit 62ae8ee8e1368fee0582007882c434862b248b16
parent 3e3a9b64bb959d3ed9d7ed581227ed297355ad98
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Mon, 25 May 2020 21:17:32 +0200
vim: add a fzf setfiletype abbrev
Former-commit-id: fe1432e0405c9f2434bf8e64e74c83eea4942281
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/vim/vimrc b/vim/vimrc
@@ -74,7 +74,7 @@ Plug 'romainl/vim-devdocs', { 'on': 'DD' }
" Fuzzy finder in vim
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all', 'on': ['FZF', 'Tags', 'Buffers', 'Files', 'Helptags', 'Lines', 'Ag'] }
-Plug 'junegunn/fzf.vim', { 'on': ['FZF', 'Tags', 'Buffers', 'Files', 'Helptags', 'Lines', 'Ag'] }
+Plug 'junegunn/fzf.vim', { 'on': ['FZF', 'Tags', 'Buffers', 'Files', 'Helptags', 'Lines', 'Ag', 'Filetypes'] }
" Better abbrevation and substitution
Plug 'tpope/vim-abolish'
@@ -296,6 +296,10 @@ nnoremap <leader>M :Marks<CR>
command! Todo Ag ((TO ?DO)|FIXME):<space>
nnoremap <leader>! :Todo<CR>
+" Set a filetype
+command! Setf Filetypes
+cabbrev setf Setf
+
" Vimwiki {{{3
let tlist_vimwiki_settings = 'wiki;h:Headers'
let g:vimwiki_table_mappings = 0 " avoid vimwiki conflict with Ultisnips