aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-28 22:09:46 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-28 22:09:46 +1300
commitc68874ee98b80f17bf79ce6875f4dcd7932dc662 (patch)
treed060fd5fd22e6256476e6ab4dcd7e1ece34351b6
parentMove file .vimrc config into subfile (diff)
downloaddotfiles-c68874ee98b80f17bf79ce6875f4dcd7932dc662.tar.gz
dotfiles-c68874ee98b80f17bf79ce6875f4dcd7932dc662.zip
Move 'shellslash' .vimrc conf into cmds subfile
-rw-r--r--vim/config/command.vim4
-rw-r--r--vim/vimrc4
2 files changed, 4 insertions, 4 deletions
diff --git a/vim/config/command.vim b/vim/config/command.vim
index 1ffe9058..a7389cfb 100644
--- a/vim/config/command.vim
+++ b/vim/config/command.vim
@@ -17,6 +17,10 @@ if has('cmdline_info')
set showmode
endif
+" Always use forward slashes, I very seldom need to use Vim on Windows for
+" more than scratch space anyway
+set shellslash
+
" Tolerate typos like :Wq, :Q, or :Qa and do what I mean, including any
" arguments or modifiers; I fat-finger these commands a lot because I type
" them so rapidly, and they don't correspond to any other commands I use
diff --git a/vim/vimrc b/vim/vimrc
index e8e35c44..4571d903 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -56,10 +56,6 @@ set nomodeline
" zero-padded decimal, so increment and decrement with ^A and ^X on that basis
set nrformats-=octal
-" Always use forward slashes, I very seldom need to use Vim on Windows for
-" more than scratch space anyway
-set shellslash
-
" Allow the cursor to get to the top or bottom of the screen before scrolling
" vertically, but set a reasonably wide gutter for scrolling horizontally; no
" particular reason, just suits me better