diff options
| -rw-r--r-- | .config/git/gitignore_global | 2 | ||||
| -rw-r--r-- | .config/nvim/init.vim | 70 |
2 files changed, 66 insertions, 6 deletions
diff --git a/.config/git/gitignore_global b/.config/git/gitignore_global index 9761892..b7fe62b 100644 --- a/.config/git/gitignore_global +++ b/.config/git/gitignore_global @@ -3,3 +3,5 @@ .local/src/dwm/ .local/src/st/ .ssh +.notes.md +notes.md diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 6705496..3c6e9a6 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -1,22 +1,80 @@ -filetype on -filetype plugin on -filetype indent on " file type based indentation +""""""" +" VIM " +""""""" set nobackup set nowb set noswapfile +"""""""""" +" UI " +"""""""""" + colorscheme railscasts -syntax on " syntax highlighting on +" Syntax highlighting on. +syntax on + +" Turn on line numbers. +set number + +filetype on + +filetype plugin on + +" Load filetype-specific indent files. +filetype indent on + +:set wrap linebreak nolist + +" Highlight matching [{()}] +set showmatch + +" Open new split panes to right and bottom. +set splitright +set splitbelow + +""""""""""""""""" +" SPACES & TABS " +""""""""""""""""" + +" Number of visual spaces per tab. set tabstop=2 + +" Number of spaces in tab when editing. set softtabstop=2 + +" Number of spaces that text is shifted when using << and >>. set shiftwidth=2 + +" Tabs are spaces. set expandtab -set number " turn on line numbers +""""""""""""""""" +" FINDING FILES " +""""""""""""""""" -:set wrap linebreak nolist +" Search down into subfolders. +set path+=** + +" Ignore these directories when finding. +set wildignore+=**/.git/** +set wildignore+=**/node_modules/** +set wildignore+=**/vendor/** + +" Display all matching files when we tab complete. +set wildmenu + +""""""""""""""" +" TAG JUMPING " +""""""""""""""" + +" Creates the 'tags' file. +command! MakeTags !ctags -R --exclude@.ctagsignore . + +"""""""" +" MISC " +"""""""" " Shortcuts provided by http://vimcasts.org |
