mirror of
https://github.com/aquatix/dotfiles.git
synced 2025-12-07 14:45:10 +01:00
Compare commits
2 Commits
a7adbb5b10
...
cacfcb08f1
| Author | SHA1 | Date | |
|---|---|---|---|
| cacfcb08f1 | |||
| 08f6b4e4e6 |
18
.vimrc
18
.vimrc
@@ -201,9 +201,8 @@ nnoremap <silent> ]f :lnext<CR>
|
||||
" https://github.com/ryanoasis/nerd-fonts
|
||||
Plug 'ryanoasis/vim-devicons'
|
||||
" Set guifont when using gvim:
|
||||
"set guifont=Droid\ Sans\ Mono\ for\ Powerline\ Plus\ Nerd\ File\ Types\ 11
|
||||
set guifont=Hack\ Nerd\ Font\ Mono\ 10
|
||||
|
||||
"
|
||||
" undotree.vim : Display your undo history in a graph.
|
||||
Plug 'mbbill/undotree'
|
||||
nnoremap <Leader>u :UndotreeToggle<CR>
|
||||
@@ -415,6 +414,16 @@ Plug 'aquatix/mdnav', { 'branch': 'fixes' }
|
||||
let g:mdnav#Extensions = '.md, .MD, .markdown, .todo, .txt, .rst'
|
||||
|
||||
|
||||
" wiki.vim
|
||||
Plug 'lervag/wiki.vim'
|
||||
" let g:wiki_root = '~/wiki'
|
||||
let g:wiki_root = '~/phren'
|
||||
let g:wiki_filetypes = ['md']
|
||||
let g:wiki_link_extension = '.md'
|
||||
let g:wiki_link_target_type = 'md'
|
||||
" let g:wiki_mappings_use_defaults = 1
|
||||
|
||||
|
||||
" vimwiki
|
||||
"Plug 'vimwiki/vimwiki', { 'branch': 'dev' }
|
||||
let wiki_1 = {}
|
||||
@@ -572,7 +581,7 @@ set hidden
|
||||
set cryptmethod=blowfish2
|
||||
|
||||
" Ensure 256 colour support if the terminal supports it
|
||||
if &term == "xterm" || &term == "xterm-256color" || &term == "screen-bce" || &term == "screen-256color" || &term == "screen" || &term == "tmux-256color-italic"
|
||||
if has("gui_running") || &term == "xterm" || &term == "xterm-256color" || &term == "screen-bce" || &term == "screen-256color" || &term == "screen" || &term == "tmux-256color-italic"
|
||||
|
||||
set background=dark
|
||||
let g:enable_bold_font = 1
|
||||
@@ -583,6 +592,9 @@ if &term == "xterm" || &term == "xterm-256color" || &term == "screen-bce" || &te
|
||||
" create a bar for airline
|
||||
set laststatus=2
|
||||
let g:airline_powerline_fonts = 1
|
||||
|
||||
" ensure black background in gvim
|
||||
highlight Normal guibg=black
|
||||
endif
|
||||
|
||||
" This is what sets vim to use 24-bit colors. It will also work for any version of neovim
|
||||
|
||||
Reference in New Issue
Block a user