about summary refs log tree commit diff
path: root/configs/.vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'configs/.vimrc')
-rw-r--r--configs/.vimrc20
1 files changed, 20 insertions, 0 deletions
diff --git a/configs/.vimrc b/configs/.vimrc
index 63d5d6271a46..6b733d473a7a 100644
--- a/configs/.vimrc
+++ b/configs/.vimrc
@@ -65,6 +65,12 @@ Plugin 'godlygeek/tabular'
 " Visually Highlight and comment code.
 Plugin 'tpope/vim-commentary'
 
+" Macros for quotes, parens, etc.
+Plugin 'tpope/vim-surround'
+
+" Allows Plugins to be repeated with `.` character
+Plugin 'tpope/vim-repeat'
+
 " Seamlessly navigate Vim and Tmux with similar bindings.
 Plugin 'christoomey/vim-tmux-navigator'
 
@@ -108,6 +114,10 @@ highlight Comment cterm=italic
 let mapleader = " "
 
 
+" Auto resize window splits
+autocmd VimResized * wincmd =
+
+
 " Neomake Settings
 autocmd! BufWritePost * Neomake
 
@@ -182,6 +192,16 @@ set foldlevel=4
 set relativenumber
 
 
+" emulate ci" and ci' behavior
+nnoremap ci( f)ci(
+nnoremap ci[ f]ci[
+
+
+" extend functionality of <C-e> & <C-y> scrolling
+nnoremap <C-e> <C-e>j
+nnoremap <C-y> <C-y>k
+
+
 " Opens all folds within the buffer
 nnoremap ZZ zR