From d8a7e4fce5eacf7a94e94037c7ad294663ebc719 Mon Sep 17 00:00:00 2001 From: "Lutskov Pavel (IFAG BEX RDE RDF ISS)" Date: Thu, 2 Aug 2018 13:31:04 +0200 Subject: [PATCH] integrated settings from work machine --- README.md | 4 ++-- plugin/settings.vim | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 894f0b0..81ab984 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ ## Usage -If you find yourself wanting to use these settings, `git clone` this repository, -and copy or link the following directories: +If you find yourself wanting to use these settings, `git clone` this +repository, and copy or link the following directories: ``` colors -> ~/.vim/colors diff --git a/plugin/settings.vim b/plugin/settings.vim index e6fd71e..564f792 100644 --- a/plugin/settings.vim +++ b/plugin/settings.vim @@ -127,6 +127,7 @@ let mapleader = "," nnoremap , let maplocalleader = " " nnoremap + nnoremap q nnoremap Q nnoremap qn :nohl @@ -137,6 +138,9 @@ nnoremap qh :helpclose nnoremap qN :NERDTreeClose nnoremap qT :TagbarClose +nnoremap gb :bn +nnoremap gB :bp + if has('win32') let my_settings_file = "$HOME/vimfiles/plugin/settings.vim" else @@ -161,7 +165,8 @@ nnoremap l nnoremap se :syntax enable nnoremap so :syntax off -nnoremap fl mf081lFr`f:delm f +nnoremap fl mf080lFr`f:delm f +nnoremap fw :%s/\s\+$//ge nnoremap v vnoremap " `>a"`