set cryptmethod=blowfish
endif
-" Create new split windows on the right (and not left).
-set splitright
-
" Clear all vimrc-related autocmds. Has to be done here as the vimrc augroup
" is used multiple times. Necessary to support reloading the vimrc.
if has('autocmd')
" (add ! to override)" warning when switching buffers.
set hidden
+" When splitting vertically put the new window right of the current one.
+if has('vertsplit')
+ set splitright
+endif
+
" DISPLAY SETTINGS
" and all nerds involved (godlygeek, strull in #vim on Freenode).
if has('eval')
function! s:VSetSearch()
- let l:temp = @@
+ let l:temp = @@ " unnamed register
normal! gvy
" Added \C to force 'noignorecase' while searching the current visual
" selection. I want to search for the exact string in this case.