Skip to content

Commit ffb0b06

Browse files
committed
Cleans vimrc, updates dotbot, add pyc to global gitignore
1 parent 7fbfe4a commit ffb0b06

File tree

3 files changed

+14
-21
lines changed

3 files changed

+14
-21
lines changed

dotbot

gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
*.swp
22
*.swo
3+
*.pyc

vimrc

+12-20
Original file line numberDiff line numberDiff line change
@@ -8,32 +8,14 @@ set rtp+=~/.vim/bundle/Vundle.vim
88
set rtp+=/usr/local/opt/fzf
99

1010
call vundle#begin()
11-
" alternatively, pass a path where Vundle should install plugins
12-
"call vundle#begin('~/some/path/here')
13-
1411
" let Vundle manage Vundle, required
1512
Plugin 'VundleVim/Vundle.vim'
16-
17-
" The following are examples of different formats supported.
18-
" Keep Plugin commands between vundle#begin/end.
19-
" plugin on GitHub repo
2013
Plugin 'tpope/vim-fugitive'
21-
" plugin from http://vim-scripts.org/vim/scripts.html
22-
" Plugin 'L9'
23-
" The sparkup vim script is in a subdirectory of this repo called vim.
24-
" Pass the path to set the runtimepath properly.
25-
Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
26-
" Install L9 and avoid a Naming conflict if you've already installed a
27-
" different version somewhere else.
28-
" Plugin 'ascenator/L9', {'name': 'newL9'}
2914
Plugin 'vimwiki/vimwiki'
3015
Plugin 'scrooloose/nerdtree'
31-
32-
" fzf.vim needs fzf/ dir on rtp, see above.
16+
Plugin 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
3317
Plugin 'junegunn/fzf.vim'
34-
3518
Plugin 'lervag/vimtex'
36-
3719
" All of your Plugins must be added before the following line
3820
call vundle#end() " required
3921
filetype plugin indent on " required
@@ -63,7 +45,15 @@ set ruler
6345
" Plugin settings.
6446

6547
"" Vimwiki....
66-
let g:vimwiki_list = [{'path': '~/ownCloud/vimwiki', 'path_html': '~/ownCloud/vimwiki_html/'}]
48+
let wiki_1 = {}
49+
let wiki_1.path = '~/ownCloud/vimwiki'
50+
let wiki_1.path_html = '~/ownCloud/vimwiki_html/'
51+
52+
let wiki_2 = {}
53+
let wiki_2.path = '~/ownCloud/vimwiki/work'
54+
let wiki_2.path_html = '~/ownCloud/vimwiki_html/work/'
55+
56+
let g:vimwiki_list = [wiki_1, wiki_2]
6757
autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o
6858

6959
"" CtrlP
@@ -93,3 +83,5 @@ highlight nonascii guibg=Red ctermbg=2
9383
noremap <silent> k gk
9484
noremap <silent> j gj
9585
86+
" keep 5 lines context on curosr... eg. when searching
87+
set scrolloff=5

0 commit comments

Comments
 (0)