From 702d0822b2a9b79602db02797b8ff4816a90c22a Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Sun, 8 Dec 2019 18:32:51 +0300 Subject: vim sets spell for prose --- .config/nvim/init.vim | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.config/nvim') diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index fab8f58..dfa8a76 100755 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -112,6 +112,9 @@ autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isT " Resize all windows proportionally when the terminal is resized " let terminal resize scale the internal windows autocmd VimResized * :wincmd = + +" Set spell for prose +autocmd FileType markdown,tex setlocal spell "}}} "{{{Misc Settings @@ -152,6 +155,8 @@ set splitbelow " new split panes will split to below and right set splitright set cursorline +set thesaurus+=~/.local/share/thesaurus.txt + " persistent undo set undodir=~/.vim/undodir set undofile -- cgit v1.2.3-70-g09d2 From e8100588c1d3a0bf2323ef3e47bef7a47edff65a Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Mon, 30 Dec 2019 01:03:46 +0300 Subject: experimental vimrc changes --- .config/nvim/init.vim | 86 +++++++++++++++++++++++++-------------------------- 1 file changed, 43 insertions(+), 43 deletions(-) (limited to '.config/nvim') diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index dfa8a76..4978d2d 100755 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -1,100 +1,100 @@ "{{{ Plugs call plug#begin('~/.local/share/nvim/plugged') -"completion +" completion Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' } Plug 'lionawurscht/deoplete-biblatex' Plug 'deoplete-plugins/deoplete-jedi' " ledger Plug 'ledger/vim-ledger' -"language packs +" language packs Plug 'sheerun/vim-polyglot' -"syntax checking +" syntax checking Plug 'dense-analysis/ale' -"manages tag files +" manages tag files Plug 'ludovicchabant/vim-gutentags' -"run your tests -Plug 'janko/vim-test' -" latex -Plug 'lervag/vimtex' +" run your tests +" Plug 'janko/vim-test' " TODO benched for now but should be useful later -"snippet solution +" snippets to expand Plug 'SirVer/ultisnips' | Plug 'honza/vim-snippets' -"autopair plugin +" autopair plugin Plug 'tmsvg/pear-tree' -"colored brackets -Plug 'luochen1990/rainbow' " Plugin outside ~/.vim/plugged with post-update hook Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } Plug 'junegunn/fzf.vim' -"tree explorer -Plug 'scrooloose/nerdtree' -"displays tags ordered by scope +" tree explorer +" Plug 'scrooloose/nerdtree' TODO benched for now, use netrw +" displays tags ordered by scope Plug 'majutsushi/tagbar' -"status/tabline +" status/tabline Plug 'bling/vim-airline' +" floating terminal +Plug 'voldikss/vim-floaterm' -" " color theme +" color theme of $CURRENT_YEAR Plug 'joshdick/onedark.vim' -"Personal wiki +" Personal wiki Plug 'vimwiki/vimwiki' -"distraction-free writing +" centers the writing Plug 'junegunn/goyo.vim' +" highlights the current parapraph Plug 'junegunn/limelight.vim' +" latex +Plug 'lervag/vimtex' -"text alignment +" text alignment Plug 'godlygeek/tabular' -"color code highlight -Plug 'chrisbra/Colorizer' -"move selections up and down +" color code highlight +" Plug 'chrisbra/Colorizer' " TODO benched for now, can't remember the last +" time this was useful +" move selections up and down Plug 'matze/vim-move' -" search/select/edit sandwiched textobjects (vim-surround) +" search/select/edit sandwiched textobjects Plug 'machakann/vim-sandwich' " provide additional text objects Plug 'wellle/targets.vim' " indentation level text object Plug 'michaeljsmith/vim-indent-object' -" undo history visualizer -Plug 'mbbill/undotree' -"reopen files at your last edit position +" reopen files at your last edit position Plug 'farmergreg/vim-lastplace' -"toggle, display and navigate marks -Plug 'kshenoy/vim-signature' -"git diff in the sign column +" toggle, display and navigate marks +" Plug 'kshenoy/vim-signature' TODO benched for now, never used +" git diff in the sign column Plug 'airblade/vim-gitgutter' -"jump to location by 2 characters +" jump to location by 2 characters Plug 'justinmk/vim-sneak' -"splits delete into cut and delete +" splits delete into cut and delete Plug 'svermeulen/vim-cutlass' -"change text with yank +" change text with yank Plug 'svermeulen/vim-subversive' -"yank history +" yank history Plug 'svermeulen/vim-yoink' -"enable repeating supported plugin maps with '.' +" enable repeating supported plugin maps with '.' Plug 'tpope/vim-repeat' -"pairs of handy bracket mappings +" pairs of handy bracket mappings Plug 'tpope/vim-unimpaired' -"git wrapper +" git wrapper Plug 'tpope/vim-fugitive' -"increment dates, times & more +" increment dates, times & more Plug 'tpope/vim-speeddating' -"search, substitute and abbreviate +" search, substitute and abbreviate Plug 'tpope/vim-abolish' -"provides ga, show unicode stuff of char under cursor +" provides ga, show unicode stuff of char under cursor Plug 'tpope/vim-characterize' -"comment helper +" comment helper Plug 'tpope/vim-commentary' -"asynchronous build and test dispatcher +" asynchronous build and test dispatcher Plug 'tpope/vim-dispatch' -"fancy start screen +" fancy start screen Plug 'mhinz/vim-startify' Plug 'ryanoasis/vim-devicons' " asks to be placed last, sure -- cgit v1.2.3-70-g09d2 From b7382c651d7246c1e0f17c42434ee30dd72ec017 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Mon, 30 Dec 2019 22:07:58 +0300 Subject: new nvim plugin --- .config/nvim/init.vim | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to '.config/nvim') diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 4978d2d..9d52e0c 100755 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -16,6 +16,8 @@ Plug 'dense-analysis/ale' Plug 'ludovicchabant/vim-gutentags' " run your tests " Plug 'janko/vim-test' " TODO benched for now but should be useful later +" open a floating terminal +Plug 'voldikss/vim-floaterm' " snippets to expand Plug 'SirVer/ultisnips' | Plug 'honza/vim-snippets' @@ -190,7 +192,8 @@ colorscheme onedark " Open the TagBar Plugin nnoremap :TagbarToggle " Open NERDTree -nnoremap :NERDTreeToggle +" nnoremap :NERDTreeToggle +let g:floaterm_keymap_toggle = '' " Fix whole buffer via ALE nmap (ale_fix) -- cgit v1.2.3-70-g09d2