diff options
| author | Max Christian Pohle | 2017-11-01 07:22:09 +0100 |
|---|---|---|
| committer | Max Christian Pohle | 2017-11-01 07:22:09 +0100 |
| commit | 6b6506639a059e63cc04cc65602845834482fa65 (patch) | |
| tree | aac6e71fcd6bb0178f212df14cb6592a79d95e27 | |
| parent | 236c2f9cb84103a245966f02082b499d9f7867fc (diff) | |
| download | vim-6b6506639a059e63cc04cc65602845834482fa65.tar.bz2 vim-6b6506639a059e63cc04cc65602845834482fa65.zip | |
Turned line numbers off and started using ftplugin for that
| -rw-r--r-- | ftplugin/c.vim | 1 | ||||
| -rw-r--r-- | ftplugin/nerdtree.vim | 1 | ||||
| -rw-r--r-- | vimrc-full | 2 |
3 files changed, 3 insertions, 1 deletions
diff --git a/ftplugin/c.vim b/ftplugin/c.vim new file mode 100644 index 0000000..d4c9199 --- /dev/null +++ b/ftplugin/c.vim | |||
| @@ -0,0 +1 @@ | |||
| set number | |||
diff --git a/ftplugin/nerdtree.vim b/ftplugin/nerdtree.vim new file mode 100644 index 0000000..62f5e5b --- /dev/null +++ b/ftplugin/nerdtree.vim | |||
| @@ -0,0 +1 @@ | |||
| autocmd! WinNew,WinEnter,WinLeave * if exists("t:NERDTreeBufName") && bufwinnr(t:NERDTreeBufName) == bufwinnr('%') | setlocal statusline=NERDTree | endif | |||
| @@ -13,7 +13,7 @@ set exrc | " enable exrc, a specific .exrc per project, | |||
| 13 | set textwidth=120 | " better done with modeline or local exrc | 13 | set textwidth=120 | " better done with modeline or local exrc |
| 14 | set ts=4 sts=4 sw=4 expandtab | " better done with a modeline or local exrc | 14 | set ts=4 sts=4 sw=4 expandtab | " better done with a modeline or local exrc |
| 15 | set virtualedit=all | " virtual edit should be default behaviour, because I don't see any reason against | 15 | set virtualedit=all | " virtual edit should be default behaviour, because I don't see any reason against |
| 16 | set number norelativenumber | " turn line numbers on/off (performance decreases when they are shown) | 16 | set nonumber norelativenumber | " do not show numbers by default, because that causes a performance loss, instead activate them on a filetype basis |
| 17 | set ignorecase smartcase hlsearch | " search with ignorecase by default, but use case sensitive search when one captical char is contained and highlight while typing (even though its slower) | 17 | set ignorecase smartcase hlsearch | " search with ignorecase by default, but use case sensitive search when one captical char is contained and highlight while typing (even though its slower) |
| 18 | 18 | ||
| 19 | "======================================================================================================================= | 19 | "======================================================================================================================= |
