You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Automatically set :make directory as current buffer dir or the one above it: let &makeprg = 'if [ -f Makefile ]; then make -C %:p:h $*; else make -C %:p:h/.. $*; fi'
Highlight search: set hlsearch
.vimrc
" Vim auto-generate ctags" https://stackoverflow.com/q/155449/619493"au! BufWritePost * "au BufWritePost * silent! !ctags -R &colorscheme torte
"" https://stackoverflow.com/a/65122/619493" configure expanding of tabs for various file typesauBufRead,BufNewFile*.pysetexpandtabauBufRead,BufNewFile*.csetnoexpandtabauBufRead,BufNewFile*.hsetnoexpandtabauBufRead,BufNewFileMakefile*setnoexpandtab" --------------------------------------------------------------------------------" configure editor with tabs and nice stuff..." --------------------------------------------------------------------------------setexpandtab" enter spaces when tab is pressedsettextwidth=120" break lines when line length increasessettabstop=4" use 4 spaces to represent tabsetsofttabstop=4setshiftwidth=4" number of spaces to use for auto indentsetautoindent" copy indent from current line when starting a new line" make backspaces more powerfullsetbackspace=indent,eol,startsetruler" show line and column numbersyntaxon" syntax highlightingsetshowcmd" show (partial) command in status line