diff --git a/.gitmodules b/.gitmodules index ae19b8d..63a855d 100644 --- a/.gitmodules +++ b/.gitmodules @@ -37,3 +37,6 @@ [submodule "bundle/vim-airline"] path = bundle/vim-airline url = git://github.com/bling/vim-airline.git +[submodule "bundle/bling"] + path = bundle/bling + url = https://github.com/ivyl/vim-bling.git diff --git a/bundle/bling b/bundle/bling new file mode 160000 index 0000000..aa646d0 --- /dev/null +++ b/bundle/bling @@ -0,0 +1 @@ +Subproject commit aa646d08711b8cba7eb67a8075be682104b4fec0 diff --git a/vimrc b/vimrc index 9ac7502..b81e75a 100644 --- a/vimrc +++ b/vimrc @@ -35,6 +35,15 @@ let mapleader = '\' "open config with \r nmap r :e $MYVIMRC nmap T :TagbarToggle +nmap w :up +imap w :upa + +"Javascript Function lookup +function! JsFunctionLookup() + let l:Name = expand("") + execute "/function ".l:Name +endfu +nmap f* :call JsFunctionLookup()zz "Remove search highlight when is pressed nnoremap :nohlsearch @@ -89,6 +98,7 @@ endif "Powerline fonts for Airline let g:airline_powerline_fonts = 1 +let g:airline#extensions#tabline#enabled = 1 if exists("g:loaded_syntastic_c_autoload") nmap c :SyntasticCheck @@ -99,7 +109,7 @@ nmap ] :bn nmap [ :bp if(has("win32") || has("win16")) - set wildignore+=*/Deploy/*,*/node_modules/* + set wildignore+=*/Deploy/*,*/node_modules/*,*/build/* else - set wildignore+=*\Deploy\*,*\node_modules\* + set wildignore+=*\Deploy\*,*\node_modules\*,*\build\* endif