dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 91af067db46e199ecf8150f698f6566ce433bab9
parent 54aed1dec7b3073d9de95552d6c3b222ddac8d07
Author: Janis Pagel <janis.pagel@ims.uni-stuttgart.de>
Date:   Tue, 21 Apr 2020 20:10:42 +0200

Enable fizzy find in vim

Also add command to add ctags automatically

Diffstat:
Mvim/vimrc | 8+++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/vim/vimrc b/vim/vimrc @@ -38,9 +38,10 @@ set splitbelow splitright " Sensible splitting behavior set nocompatible set nomodeline set cursorline -" Enable autocompletion +" Enable file autocompletion and fuzzy find set wildmode=longest,list,full set wildmenu +set path+=** " Change leader key let mapleader = ',' " Set the time the leader key is active (in ms) @@ -125,6 +126,11 @@ nmap <Leader>cm :Codemode<CR> nmap <Leader>d "=strftime("%Y-%m-%d")<CR>P " }}} +" Commands {{{ +" Requires ctags to be installed +command! MakeTags !ctags -R . +" }}} + " autocmds {{{ " reopening a file at same position if has("autocmd")