about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2016-11-30T19·01-0500
committerWilliam Carroll <wpcarro@gmail.com>2016-11-30T19·01-0500
commit7d5ad2b2b99a3a27a971320be7f21054cb920b4a (patch)
treeeb47feda5e895a40f7e141ea5612eeb6507d588c
parent1ea6dc7f9038b5d854f39a44714c86cfad9b2fd9 (diff)
Removes snippets and adds plugins
-rw-r--r--configs/.vimrc20
1 files changed, 7 insertions, 13 deletions
diff --git a/configs/.vimrc b/configs/.vimrc
index 36417a4c1d62..5b08f2c778a7 100644
--- a/configs/.vimrc
+++ b/configs/.vimrc
@@ -160,19 +160,6 @@ set conceallevel=1
 set concealcursor=nvic
 
 
-" Ultisnips
-" Track the engine.
-Plugin 'SirVer/ultisnips'
-
-" Snippets are separated from the engine. Add this if you want them:
-Plugin 'honza/vim-snippets'
-
-" Trigger configuration. Do not use <tab> if you use https://github.com/Valloric/YouCompleteMe.
-let g:UltiSnipsExpandTrigger="<c-x>"
-" let g:UltiSnipsJumpForwardTrigger="<c-j>"
-" let g:UltiSnipsJumpBackwardTrigger="<c-k>"
-
-
 " map jk to <Esc>
 inoremap jk <Esc>
 
@@ -315,6 +302,9 @@ syntax enable
 set background=dark
 colorscheme OceanicNext
 
+set history=1000
+set undolevels=1000
+
 set t_Co=255
 
 
@@ -404,6 +394,10 @@ nnoremap L $
 vnoremap L $
 
 
+" Search for visually selected text
+vnoremap // y/<C-r>"<CR>
+
+
 " trim trailing whitespace on save
 autocmd BufWritePre *.{js,py,tpl,less,html} :%s/\s\+$//e