aboutsummaryrefslogtreecommitdiffstats
path: root/vim/vimrc
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-03-28 17:25:21 +0100
committerMatthew Lemon <y@yulqen.org>2023-03-28 17:25:30 +0100
commitd9a48f588881276963b444faccfc11e8f98af4aa (patch)
tree9e7333eac2e311b30cd0d90e71d1f069144145ad /vim/vimrc
parentf9c3397fa719a76829a387ea87f33481284a939f (diff)
commented out vim plugins for now and added a macro
Diffstat (limited to '')
-rw-r--r--vim/vimrc78
1 files changed, 42 insertions, 36 deletions
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\<BS>\<CR>\<Esc>"
+
+" 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="<c-space>"