aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Christian Pohle2016-09-14 13:47:36 +0200
committerMax Christian Pohle2016-09-14 13:47:36 +0200
commit5f9813c9bfc64bcb4af2f4d6aa9544690366df19 (patch)
tree904ed4c05f1b1b2d052441096e162cc9c370ebe9
parent190811dccbcaee6bd2b55b1f2e5b75f910be31be (diff)
downloadvim-5f9813c9bfc64bcb4af2f4d6aa9544690366df19.tar.bz2
vim-5f9813c9bfc64bcb4af2f4d6aa9544690366df19.zip
disable code folding
-rw-r--r--doc/shortcuts.txt16
-rw-r--r--vimrc6
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
5f{char} = move cursor to the character {char} 5f{char} = move cursor to the character {char}
6gf = open file under cursor 6gf = 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]
62the last line can be a mode line, which holds settings like tab width: 64the 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]
74g 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
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
33 33
34 34
35" Additional =========================================. 35" Additional =========================================.
36Plugin 'taglist-plus' | " quick code navigator
37
36Plugin 'sheerun/vim-polyglot' | " better syntax highlighting/indentation for multiple languages 38Plugin 'sheerun/vim-polyglot' | " better syntax highlighting/indentation for multiple languages
37Plugin 'gregsexton/matchtag' | " highlights closing ML tags like braces 39Plugin 'gregsexton/matchtag' | " highlights closing ML tags like braces
38Plugin 'loremipsum' | " Sample text generator 40Plugin 'loremipsum' | " Sample text generator
@@ -58,8 +60,9 @@ vnoremap > >gv
58 60
59 61
60nnoremap <C-Tab> :bn<CR>| " lets one use CTRL+Tab to switch between tabs 62nnoremap <C-Tab> :bn<CR>| " lets one use CTRL+Tab to switch between tabs
61nnoremap <C-S-Tab> :bp<CR>| " use CTRL+Shift+Tab to switch to preview tab 63nnoremap <C-S-Tab> :bp<CR>| " use CTRL+Shift+Tab to switch to preview tab
62 64
65nnoremap <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
87set number | " toggle line numbers 90set number | " toggle line numbers
88set relativenumber | " displays current lines line no as zero point from where relative numbers are getting counted 91set relativenumber | " displays current lines line no as zero point from where relative numbers are getting counted
89set list | " shows unprinable characters in the current line 92set list | " shows unprinable characters in the current line
93set nofoldenable | " disable code folding. I hate code folding
90 94
91set spell spelllang=en,de | " enable spell checker 95set spell spelllang=en,de | " enable spell checker
92set splitbelow | " open new windows below the current one (i find that more intuitive) 96set splitbelow | " open new windows below the current one (i find that more intuitive)
..