vimwiki: dth @ DK023900WSL
This commit is contained in:
parent
c58f1e13e5
commit
283a9f0c15
7 changed files with 141 additions and 13 deletions
|
|
@ -158,5 +158,5 @@ schemes:
|
|||
# colors: *gruvbox_material_medium_light
|
||||
# colors: *gruvbox_material_soft_light
|
||||
|
||||
# colors: *gruvbox_material_soft_light
|
||||
colors: *gruvbox_material_soft_dark
|
||||
colors: *gruvbox_material_soft_light
|
||||
# colors: *gruvbox_material_soft_dark
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
let mapleader =","
|
||||
|
||||
" set termguicolors
|
||||
|
||||
if ! filereadable(system('echo -n "${XDG_CONFIG_HOME:-$HOME/.config}/nvim/autoload/plug.vim"'))
|
||||
echo "Downloading junegunn/vim-plug to manage plugins..."
|
||||
silent !mkdir -p ${XDG_CONFIG_HOME:-$HOME/.config}/nvim/autoload/
|
||||
|
|
@ -11,7 +13,7 @@ call plug#begin(system('echo -n "${XDG_CONFIG_HOME:-$HOME/.config}/nvim/plugged"
|
|||
Plug 'tpope/vim-surround' " surround for parentheses, brackets, quotes, XML tags etc
|
||||
Plug 'tpope/vim-fugitive' " git helper
|
||||
Plug 'preservim/nerdtree' " file tree
|
||||
Plug 'jreybert/vimagit' " git diffing with :Magit
|
||||
" Plug 'jreybert/vimagit' " git diffing with :Magit
|
||||
Plug 'lukesmithxyz/vimling' " toggle deadkeys, IPA, prose-mode
|
||||
Plug 'junegunn/goyo.vim' " prose mode but better
|
||||
Plug 'vimwiki/vimwiki' " take notes in vimwiki
|
||||
|
|
@ -22,25 +24,31 @@ Plug 'tpope/vim-commentary' " comment out word / line with 'gc'
|
|||
Plug 'ap/vim-css-color' " show css colors
|
||||
Plug 'editorconfig/editorconfig-vim' " editor-config extension for vim
|
||||
Plug 'scrooloose/syntastic' " syntax checker
|
||||
Plug 'airblade/vim-gitgutter' " show git diff insertions / deletions
|
||||
Plug 'junegunn/vim-emoji' " emoji autocomplete + emojis in gitgutter
|
||||
" Plug 'airblade/vim-gitgutter' " show git diff insertions / deletions
|
||||
" Plug 'junegunn/vim-emoji' " emoji autocomplete + emojis in gitgutter
|
||||
Plug 'rrethy/vim-illuminate' " highlight other uses of the current word under the cursor
|
||||
" Plug 'jupyter-vim/jupyter-vim' " one day we'll start using jupyter in vim
|
||||
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } " fuzzy-finder
|
||||
Plug 'ibhagwan/fzf-lua', {'branch': 'main'}
|
||||
" optional for icon support
|
||||
Plug 'kyazdani42/nvim-web-devicons'
|
||||
call plug#end()
|
||||
|
||||
|
||||
" fuzzy find with ctrl + P
|
||||
nnoremap <c-P> <cmd>lua require('fzf-lua').files()<CR>
|
||||
|
||||
" show invisibles
|
||||
set fileencoding=utf-8
|
||||
set list
|
||||
set listchars=tab:→\ ,nbsp:␣,trail:•,precedes:«,extends:»
|
||||
|
||||
" vim-emoji setup
|
||||
set completefunc=emoji#complete
|
||||
let g:gitgutter_sign_added = emoji#for('small_blue_diamond')
|
||||
let g:gitgutter_sign_modified = emoji#for('small_orange_diamond')
|
||||
let g:gitgutter_sign_removed = emoji#for('small_red_triangle')
|
||||
let g:gitgutter_sign_modified_removed = emoji#for('collision')
|
||||
" set completefunc=emoji#complete
|
||||
" let g:gitgutter_sign_added = emoji#for('small_blue_diamond')
|
||||
" let g:gitgutter_sign_modified = emoji#for('small_orange_diamond')
|
||||
" let g:gitgutter_sign_removed = emoji#for('small_red_triangle')
|
||||
" let g:gitgutter_sign_modified_removed = emoji#for('collision')
|
||||
|
||||
|
||||
" syntastic recommended settings
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue