From 4aaedf640e8bf546e3b9f48834889af1484354ed Mon Sep 17 00:00:00 2001 From: Von Random Date: Mon, 6 Mar 2017 11:47:51 +0300 Subject: [PATCH] home / end fixed for visual mode, supertab for everything, not only python --- vimplugins | 2 +- vimrc | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/vimplugins b/vimplugins index d119fcc..e8201db 100644 --- a/vimplugins +++ b/vimplugins @@ -10,6 +10,7 @@ Plug 'junegunn/vim-plug' " general plugins Plug 'directionalWindowResizer' +Plug 'ervandew/supertab' Plug 'jeetsukumaran/vim-buffergator' Plug 'junegunn/vim-easy-align' Plug 'mhinz/vim-signify' @@ -21,7 +22,6 @@ Plug 'vimwiki/vimwiki' " IDE liek, per filetype Plug 'neomake/neomake', { 'for': 'python' } Plug 'davidhalter/jedi-vim', { 'for': 'python' } -Plug 'ervandew/supertab', { 'for': 'python' } " colorschemes Plug 'lifepillar/vim-solarized8' diff --git a/vimrc b/vimrc index d499e5c..658bb52 100644 --- a/vimrc +++ b/vimrc @@ -32,25 +32,25 @@ if v:version >= 800 endif " maps -" leader +"leader map let mapleader="\" -" no more F1 +"no more F1 noremap xnoremap snoremap inoremap lnoremap cnoremap -" some toggles +"some toggles nnoremap n :setlocal number! nnoremap r :setlocal relativenumber! nnoremap l :setlocal list! nnoremap c :setlocal cursorline! nnoremap / :nohls "home / end -nnoremap H ^ -nnoremap L $ +noremap H ^ +noremap L $ "copy to / paste from clipboard vmap y "+y vmap d "+d