From 532765a408f91403fae1abe63e9e429615847d94 Mon Sep 17 00:00:00 2001 From: Marvin Johanning Date: Sun, 19 Apr 2020 11:36:47 +0200 Subject: [PATCH] Update vimrc --- .vimrc | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.vimrc b/.vimrc index fd096de..0fec072 100644 --- a/.vimrc +++ b/.vimrc @@ -1,5 +1,4 @@ ".vimrc Marvin Johanning @ marvinjohanning.de - set nocompatible filetype off @@ -22,8 +21,9 @@ Plugin 'christoomey/vim-system-copy' Plugin 'terryma/vim-smooth-scroll' "Smooth scrolling Plugin 'mhartington/oceanic-next' "Theme OceanicNext Plugin 'jacoborus/tender.vim' "Theme Tender -Plugin 'thoughtbot/vim-rspec' "RSpec Plugin +" Plugin 'thoughtbot/vim-rspec' "RSpec Plugin Plugin 'MikeCoder/markdown-preview.vim' "Markdown preview +Plugin 'lervag/vimtex' " All of your Plugins must be added before the following line call vundle#end() @@ -54,7 +54,7 @@ nnoremap u "leader plus ( will create () and put user inside nnoremap " viwa"bi"lel nnoremap ' viwa'bi'll -nnoremap <+++>ciw +nnoremap <+++>ca< "- will delete the line and paste it on the line below nnoremap - 0y$Dop$i "Open .vimrc (ev) and source it (sv) @@ -66,10 +66,13 @@ noremap :call smooth_scroll#down(&scroll, 0, 2) noremap :call smooth_scroll#up(&scroll*2, 0, 4) noremap :call smooth_scroll#down(&scroll*2, 0, 4) "RSpec mappings -map t :call RunCurrentSpecFile() -map s :call RunNearestSpec() -map l :call RunLastSpec() -map a :call RunAllSpecs() +"map t :call RunCurrentSpecFile() +"map s :call RunNearestSpec() +"map l :call RunLastSpec() +"map a :call RunAllSpecs() + +nnoremap q i"`<+++>"' +let g:vimtex_view_general_viewer = 'zathura' "Colour stuff syntax on