Slight config changes

This commit is contained in:
David Thurstenson 2016-08-05 12:11:21 -05:00
parent 0cfb5fbf1e
commit a6f1c35072
2 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,4 @@
" vim: filetype=vifm :
" vim: filetype=vim :
" Sample configuration file for vifm (last updated: 06 Jan, 2016)
" You can edit this file by hand.
" The " character at the beginning of a line comments out the line.
@ -130,6 +130,9 @@ command! mkcd :mkdir %a | cd %a
command! vgrep vim "+grep %a"
command! reload :write | restart
command! scpto scp -rq %f %a && echo "SCP complete" %S
command! svnstatus svn status %m
command! svnupdate svn update %m
command! shellcheck shellcheck %f %m
" ------------------------------------------------------------------------------

3
.vimrc
View File

@ -71,7 +71,7 @@ if has("autocmd")
au!
" For all text files set 'textwidth' to 78 characters.
autocmd FileType text setlocal textwidth=78
" autocmd FileType text setlocal textwidth=78
" When editing a file, always jump to the last known cursor position.
" Don't do it when the position is invalid or when inside an event handler
@ -105,3 +105,4 @@ if has('langmap') && exists('+langnoremap')
endif
" Use W to call sudo to write a read-only file with elevated privaliges
command W :execute ':silent w !sudo tee % > /dev/null' | :edit!
au BufRead /tmp/mutt-* set tw=72