diff --git a/vim/vimrc b/vim/vimrc index 3d6634f..fe21ee6 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -36,6 +36,7 @@ endfunction """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Brief Config: " -> Sane Config Base +" -> Syntax Override AutoCMDs " -> Leader Key " -> Clip " -> Has Async Var @@ -44,6 +45,9 @@ endfunction " https://github.com/tpope/vim-sensible source ~/.vim/vimrc.d/sensible.vim +" Syntax Override AutoCMDs +source ~/.vim/vimrc.d/syntaxoverrides.vim + " Take me to your leader let mapleader="," @@ -101,8 +105,12 @@ Plug 'vim-airline/vim-airline' " Vim Eunuch : Helpers for UNIX Plug 'tpope/vim-eunuch' +" Vim Polygot : A solid language pack for Vim. +Plug 'sheerun/vim-polyglot' + " Nerdtree : A tree explorer plugin for vim. Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } + map po :NERDTreeToggle " Incsearch : Improved incremental searching for Vim Plug 'haya14busa/incsearch.vim' @@ -125,6 +133,7 @@ Plug 'junegunn/fzf.vim' let g:fzf_layout = { 'down': '40%' } map :History map b :Buffers + map :Files " ALE : Asynchronous Lint Engine Plug 'dense-analysis/ale', Cond(g:has_async) diff --git a/vim/vimrc.d/syntaxoverrides.vim b/vim/vimrc.d/syntaxoverrides.vim new file mode 100644 index 0000000..9f338e4 --- /dev/null +++ b/vim/vimrc.d/syntaxoverrides.vim @@ -0,0 +1 @@ +autocmd BufNewFile,BufRead ~/.ssh/config.d/* set syntax=sshconfig