diff options
author | Max Christian Pohle | 2016-09-14 13:47:36 +0200 |
---|---|---|
committer | Max Christian Pohle | 2016-09-14 13:47:36 +0200 |
commit | 5f9813c9bfc64bcb4af2f4d6aa9544690366df19 (patch) | |
tree | 904ed4c05f1b1b2d052441096e162cc9c370ebe9 | |
parent | 190811dccbcaee6bd2b55b1f2e5b75f910be31be (diff) | |
download | vim-karlmarks-5f9813c9bfc64bcb4af2f4d6aa9544690366df19.tar.bz2 vim-karlmarks-5f9813c9bfc64bcb4af2f4d6aa9544690366df19.zip |
disable code folding
-rw-r--r-- | doc/shortcuts.txt | 16 | ||||
-rw-r--r-- | 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 | |||
5 | f{char} = move cursor to the character {char} | 5 | f{char} = move cursor to the character {char} |
6 | gf = open file under cursor | 6 | gf = open file under cursor |
7 | <C-w>gf = open file under cursor in a tab | 7 | <C-w>gf = open file under cursor in a tab |
8 | <C-w>] = jump to the tag under the cursor in a new window | ||
9 | <C-t> = jump back from where that ^ brought you | ||
8 | 10 | ||
9 | 11 | ||
10 | 12 | ||
@@ -18,8 +20,8 @@ iB = select block between curly braces (:help object-select) | |||
18 | :spell [word] = adds a word to the current dictionary (no mistake any more) | 20 | :spell [word] = adds a word to the current dictionary (no mistake any more) |
19 | :set list = display non printable characters | 21 | :set list = display non printable characters |
20 | :retab = replaces tabs with spaces | 22 | :retab = replaces tabs with spaces |
21 | :set expandtab = in insert mode: replace tab with spaces | 23 | :set expandtab = in insert mode: replace tab with spaces |
22 | :Explore = cli version open file dialog | 24 | :Explore = cli version open file dialog |
23 | 25 | ||
24 | 26 | ||
25 | [navigation] | 27 | [navigation] |
@@ -61,4 +63,14 @@ zR = opens all folds (unfold all) | |||
61 | [vim modeline] | 63 | [vim modeline] |
62 | the last line can be a mode line, which holds settings like tab width: | 64 | the last line can be a mode line, which holds settings like tab width: |
63 | 65 | ||
66 | |||
67 | [buffers] | ||
68 | :bn = buffer next | ||
69 | :bp = buffer previous | ||
70 | :bd = buffer dispatch (close) | ||
71 | |||
72 | |||
73 | [special] | ||
74 | g CTRL-g = display file properties including word and char count | ||
75 | |||
64 | # vim: noai:ts=2:sw=2 filetype=dosini | 76 | # vim: noai:ts=2:sw=2 filetype=dosini |
@@ -33,6 +33,8 @@ let g:airline_theme='papercolor' | " specifies which colors | |||
33 | 33 | ||
34 | 34 | ||
35 | " Additional =========================================. | 35 | " Additional =========================================. |
36 | Plugin 'taglist-plus' | " quick code navigator | ||
37 | |||
36 | Plugin 'sheerun/vim-polyglot' | " better syntax highlighting/indentation for multiple languages | 38 | Plugin 'sheerun/vim-polyglot' | " better syntax highlighting/indentation for multiple languages |
37 | Plugin 'gregsexton/matchtag' | " highlights closing ML tags like braces | 39 | Plugin 'gregsexton/matchtag' | " highlights closing ML tags like braces |
38 | Plugin 'loremipsum' | " Sample text generator | 40 | Plugin 'loremipsum' | " Sample text generator |
@@ -58,8 +60,9 @@ vnoremap > >gv | |||
58 | 60 | ||
59 | 61 | ||
60 | nnoremap <C-Tab> :bn<CR>| " lets one use CTRL+Tab to switch between tabs | 62 | nnoremap <C-Tab> :bn<CR>| " lets one use CTRL+Tab to switch between tabs |
61 | nnoremap <C-S-Tab> :bp<CR>| " use CTRL+Shift+Tab to switch to preview tab | 63 | nnoremap <C-S-Tab> :bp<CR>| " use CTRL+Shift+Tab to switch to preview tab |
62 | 64 | ||
65 | nnoremap <C-l> :TlistToggle<CR>| " bind TagList to Hotkey Ctrl+L | ||
63 | 66 | ||
64 | " Disabled ===========================================. | 67 | " Disabled ===========================================. |
65 | "# Plugin 'indenthtml.vim' | " works better with mixed html/css/javascript | 68 | "# Plugin 'indenthtml.vim' | " works better with mixed html/css/javascript |
@@ -87,6 +90,7 @@ set clipboard=unnamedplus | " makes copy and paste work (autoselectplus migh | |||
87 | set number | " toggle line numbers | 90 | set number | " toggle line numbers |
88 | set relativenumber | " displays current lines line no as zero point from where relative numbers are getting counted | 91 | set relativenumber | " displays current lines line no as zero point from where relative numbers are getting counted |
89 | set list | " shows unprinable characters in the current line | 92 | set list | " shows unprinable characters in the current line |
93 | set nofoldenable | " disable code folding. I hate code folding | ||
90 | 94 | ||
91 | set spell spelllang=en,de | " enable spell checker | 95 | set spell spelllang=en,de | " enable spell checker |
92 | set splitbelow | " open new windows below the current one (i find that more intuitive) | 96 | set splitbelow | " open new windows below the current one (i find that more intuitive) |