Autogroups n stuff
							parent
							
								
									6f1cc2464a
								
							
						
					
					
						commit
						78bd62e834
					
				|  | @ -0,0 +1,5 @@ | |||
| let g:netrw_dirhistmax  =10 | ||||
| let g:netrw_dirhistcnt =3 | ||||
| let g:netrw_dirhist_3='/home/jjr/work/suzybot' | ||||
| let g:netrw_dirhist_2='/home/jjr/work/suzybot/suzybot' | ||||
| let g:netrw_dirhist_1='/home/jjr/work/suzybot' | ||||
|  | @ -16,4 +16,4 @@ When I started to config my Neovim, I had a few goals in mind: | |||
| 
 | ||||
| ## Design | ||||
| I like to split my configs up into multiple files, as you can see in this repository. It makes it easier for me to | ||||
| navigate, and it makes it so I don't just a have a file that's a thousand lines long.  | ||||
| navigate, and it makes it so I don't just have a file that's a thousand lines long.  | ||||
|  |  | |||
|  | @ -0,0 +1,2 @@ | |||
| " Show width column | ||||
| setlocal colorcolumn=120 | ||||
|  | @ -1,5 +1,5 @@ | |||
| augroup langs | ||||
|     autocmd! | ||||
|     " Remove trailing whitespace | ||||
|     autocmd BufWritePre *.py,*.java :silent! %s/\s\+$//g | ||||
|     " autocmd BufWritePre *.py,*.java :silent! %s/\s\+$//g | ||||
| augroup END | ||||
|  |  | |||
|  | @ -55,7 +55,7 @@ nnoremap <silent> <leader>mt :make! test<CR> | |||
| " Remap <Esc> in terminal | ||||
| tnoremap <silent> <Esc> <C-\><C-n> | ||||
| " Open terminal in horizontal split | ||||
| nnoremap <silent> <leader>s :split<CR>:terminal<CR> | ||||
| nnoremap <silent> <leader><CR> :split<CR>:terminal<CR> | ||||
| 
 | ||||
| " Keybinding for switching between light/dark colorschemes | ||||
| function! ColorschemeToggle() | ||||
|  |  | |||
|  | @ -2,7 +2,8 @@ | |||
| " Load the plugins | ||||
| call plug#begin('~/.config/nvim/plugged') | ||||
| 
 | ||||
| " Create ctags file asynchonously | ||||
| " Gutentags creates a ctags file asynchronously. This allows me to jump to | ||||
| " definitions easily. | ||||
| Plug 'ludovicchabant/vim-gutentags', { 'commit': '31c0ead' } | ||||
| 
 | ||||
| " Fuzzy file search | ||||
|  |  | |||
		Reference in New Issue