-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.vim
46 lines (30 loc) · 1.09 KB
/
init.vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
call plug#begin('~/.vim/plugged')
" theme
" Plug 'mbbill/undotree'
Plug 'drewtempelmeyer/palenight.vim'
" fuzzy finder
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim'
" Focus
Plug 'junegunn/goyo.vim'
" stop bad habbits
Plug 'takac/vim-hardtime'
" Marktdown previewer
Plug 'iamcco/markdown-preview.nvim', { 'do': { -> mkdp#util#install() }, 'for': ['markdown', 'vim-plug']}
" Gotta Go fast
Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }
" Treesitter
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} " We recommend updating the parsers on update
Plug 'nvim-treesitter/playground'
" Comment in-out
Plug 'tpope/vim-commentary'
" amazing git integrations
Plug 'tpope/vim-fugitive'
call plug#end()
" journaling
autocmd BufNewFile */journal/** 0r ~/.vim/skeleton.diary
let mapleader=" "
nnoremap <leader>u :UndotreeShow<CR>
nnoremap ff :GitFiles<CR>
lua require'nvim-treesitter.configs'.setup { indent = { enable = true }, highlight = { enable = true }, incremental_selection = { enable = true }, textobjects = { enable = true }}
set completeopt=menuone,noselect