From 5f9813c9bfc64bcb4af2f4d6aa9544690366df19 Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Wed, 14 Sep 2016 13:47:36 +0200 Subject: disable code folding --- doc/shortcuts.txt | 16 ++++++++++++++-- vimrc | 6 +++++- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/doc/shortcuts.txt b/doc/shortcuts.txt index 1432837..a95e530 100644 --- a/doc/shortcuts.txt +++ b/doc/shortcuts.txt @@ -5,6 +5,8 @@ leader key = usually set to backslash expects a quick command f{char} = move cursor to the character {char} gf = open file under cursor gf = open file under cursor in a tab +] = jump to the tag under the cursor in a new window + = jump back from where that ^ brought you @@ -18,8 +20,8 @@ iB = select block between curly braces (:help object-select) :spell [word] = adds a word to the current dictionary (no mistake any more) :set list = display non printable characters :retab = replaces tabs with spaces -:set expandtab = in insert mode: replace tab with spaces -:Explore = cli version open file dialog +:set expandtab = in insert mode: replace tab with spaces +:Explore = cli version open file dialog [navigation] @@ -61,4 +63,14 @@ zR = opens all folds (unfold all) [vim modeline] the last line can be a mode line, which holds settings like tab width: + +[buffers] +:bn = buffer next +:bp = buffer previous +:bd = buffer dispatch (close) + + +[special] +g CTRL-g = display file properties including word and char count + # vim: noai:ts=2:sw=2 filetype=dosini diff --git a/vimrc b/vimrc index 467a1f3..42397ce 100644 --- a/vimrc +++ b/vimrc @@ -33,6 +33,8 @@ let g:airline_theme='papercolor' | " specifies which colors " Additional =========================================. +Plugin 'taglist-plus' | " quick code navigator + Plugin 'sheerun/vim-polyglot' | " better syntax highlighting/indentation for multiple languages Plugin 'gregsexton/matchtag' | " highlights closing ML tags like braces Plugin 'loremipsum' | " Sample text generator @@ -58,8 +60,9 @@ vnoremap > >gv nnoremap :bn| " lets one use CTRL+Tab to switch between tabs -nnoremap :bp| " use CTRL+Shift+Tab to switch to preview tab +nnoremap :bp| " use CTRL+Shift+Tab to switch to preview tab +nnoremap :TlistToggle| " bind TagList to Hotkey Ctrl+L " Disabled ===========================================. "# Plugin 'indenthtml.vim' | " works better with mixed html/css/javascript @@ -87,6 +90,7 @@ set clipboard=unnamedplus | " makes copy and paste work (autoselectplus migh set number | " toggle line numbers set relativenumber | " displays current lines line no as zero point from where relative numbers are getting counted set list | " shows unprinable characters in the current line +set nofoldenable | " disable code folding. I hate code folding set spell spelllang=en,de | " enable spell checker set splitbelow | " open new windows below the current one (i find that more intuitive) -- cgit v1.2.3