From a6f1c350725cf3c7dc1e08dc5d2bed9cde0a6eb3 Mon Sep 17 00:00:00 2001 From: David Thurstenson Date: Fri, 5 Aug 2016 12:11:21 -0500 Subject: [PATCH] Slight config changes --- .config/vifm/vifmrc | 5 ++++- .vimrc | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.config/vifm/vifmrc b/.config/vifm/vifmrc index d138fd6..e48790f 100644 --- a/.config/vifm/vifmrc +++ b/.config/vifm/vifmrc @@ -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 " ------------------------------------------------------------------------------ diff --git a/.vimrc b/.vimrc index 765fa1a..05ca74d 100644 --- a/.vimrc +++ b/.vimrc @@ -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