From d9a48f588881276963b444faccfc11e8f98af4aa Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Tue, 28 Mar 2023 17:25:21 +0100 Subject: commented out vim plugins for now and added a macro --- vim/vimrc | 78 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 42 insertions(+), 36 deletions(-) (limited to 'vim/vimrc') diff --git a/vim/vimrc b/vim/vimrc index 697c0ba..cd907bf 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -5,8 +5,14 @@ if filereadable(expand('$VIMRUNTIME/defaults.vim')) unlet! g:skip_defaults_vim source $VIMRUNTIME/defaults.vim endif -" -" + +" macro to go to end of sentence and add a line break (for +" one-line-per-sentence vimming...) +let @s = ")i\\\" + +" spell checking +set spell spelllang=en_gb + " leader let maplocalleader = "\\" let mapleader = "," @@ -136,40 +142,40 @@ endfunction autocmd BufLeave * call s:copy_filename_as_mdlink() " vim-plug -call plug#begin('~/.vim/plugged') -Plug 'morhetz/gruvbox' -Plug 'romainl/Apprentice' -Plug 'ledger/vim-ledger' -Plug 'ycm-core/YouCompleteMe' -"Plug 'prabirshrestha/vim-lsp' -Plug 'ledger/vim-ledger' -"Plug 'alok/notational-fzf-vim' -Plug 'sheerun/vim-polyglot' -"Plug 'neoclide/coc.nvim', {'branch': 'release'} -Plug 'tpope/vim-commentary' -Plug 'godlygeek/tabular' -Plug 'davidhalter/jedi' -Plug 'tpope/vim-dispatch' -Plug 'tpope/vim-fugitive' -Plug 'tpope/vim-sensible' -Plug 'tpope/vim-unimpaired' -Plug 'tpope/vim-surround' -Plug 'dense-analysis/ale' -Plug 'vim-test/vim-test' -Plug 'jlanzarotta/bufexplorer' -Plug 'preservim/nerdtree' -Plug 'mhinz/vim-signify' -Plug 'mattn/emmet-vim' -Plug 'junegunn/fzf' -Plug 'altercation/vim-colors-solarized' -Plug 'junegunn/fzf.vim' -Plug 'SirVer/Ultisnips' -Plug 'honza/vim-snippets' -Plug 'pangloss/vim-javascript' -Plug 'fatih/vim-go', { 'tag': '*' } -Plug 'powerman/vim-plugin-AnsiEsc' -"Plug 'majutsushi/tagbar' -call plug#end() +" call plug#begin('~/.vim/plugged') +" Plug 'morhetz/gruvbox' +" Plug 'romainl/Apprentice' +" Plug 'ledger/vim-ledger' +" Plug 'ycm-core/YouCompleteMe' +" "Plug 'prabirshrestha/vim-lsp' +" Plug 'ledger/vim-ledger' +" "Plug 'alok/notational-fzf-vim' +" Plug 'sheerun/vim-polyglot' +" "Plug 'neoclide/coc.nvim', {'branch': 'release'} +" Plug 'tpope/vim-commentary' +" Plug 'godlygeek/tabular' +" Plug 'davidhalter/jedi' +" Plug 'tpope/vim-dispatch' +" Plug 'tpope/vim-fugitive' +" Plug 'tpope/vim-sensible' +" Plug 'tpope/vim-unimpaired' +" Plug 'tpope/vim-surround' +" Plug 'dense-analysis/ale' +" Plug 'vim-test/vim-test' +" Plug 'jlanzarotta/bufexplorer' +" Plug 'preservim/nerdtree' +" Plug 'mhinz/vim-signify' +" Plug 'mattn/emmet-vim' +" Plug 'junegunn/fzf' +" Plug 'altercation/vim-colors-solarized' +" Plug 'junegunn/fzf.vim' +" Plug 'SirVer/Ultisnips' +" Plug 'honza/vim-snippets' +" Plug 'pangloss/vim-javascript' +" Plug 'fatih/vim-go', { 'tag': '*' } +" Plug 'powerman/vim-plugin-AnsiEsc' +" "Plug 'majutsushi/tagbar' +" call plug#end() " Ultisnips let g:UltiSnipsExpandTrigger="" -- cgit v1.2.3