summary refs log tree commit diff
path: root/home
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-03-30 17:26:55 -0400
committerJune McEnroe <june@causal.agency>2018-03-30 17:26:55 -0400
commit4f8c7d55b516543da97649aba6507b7c595767a4 (patch)
tree55b2b1640e6719a68fef4de356a8e723c8ead9b1 /home
parentAdd d-_-b crate (diff)
downloadsrc-4f8c7d55b516543da97649aba6507b7c595767a4.tar.gz
src-4f8c7d55b516543da97649aba6507b7c595767a4.zip
Set g:clipboard to pb{copy,paste} always
Previously neovim would use these automatically if it found them, but
now it only checks for them on macOS. pbd continues to work well.
Diffstat (limited to 'home')
-rw-r--r--home/.config/nvim/init.vim5
1 files changed, 4 insertions, 1 deletions
diff --git a/home/.config/nvim/init.vim b/home/.config/nvim/init.vim
index 04a9d56b..e58b6996 100644
--- a/home/.config/nvim/init.vim
+++ b/home/.config/nvim/init.vim
@@ -7,7 +7,8 @@ command! W w
 command! Q q
 autocmd BufNewFile,BufRead *.asm,*.mac setfiletype nasm
 
-set tabstop=8 expandtab shiftwidth=4 shiftround smartindent cinoptions=l1(sU1m1
+set tabstop=8 expandtab shiftwidth=4 shiftround
+set smartindent cinoptions=l1(sU1m1
 set ignorecase smartcase inccommand=nosplit
 nmap <leader><leader> :nohlsearch<CR>
 set foldmethod=syntax foldlevel=99
@@ -22,6 +23,8 @@ autocmd TermOpen * setlocal nonumber statusline=%{b:term_title}
 autocmd BufEnter term://* startinsert
 tmap <C-w> <C-\><C-n><C-w>
 
+let g:clipboard = {'copy':{'+':'pbcopy'},'paste':{'+':'pbpaste'}}
+
 nmap <leader>h :0/^#include </,$?^#include <?sort<CR>:nohlsearch<CR>
 nmap <leader>u :0/^use/,$?^use?sort<CR>:nohlsearch<CR>
 nmap <leader>c :0/extern crate/,$?extern crate?sort<CR>:nohlsearch<CR>
2 10:28:02 -0400'>2024-10-12Add photos from October 5June McEnroe 2024-10-09Add photos from October 1June McEnroe 2024-10-07Add photos from September 29June McEnroe 2024-10-07Add photos from September 28June McEnroe 2024-10-07Add photos from September 22June McEnroe 2024-09-25Add photos from September 15June McEnroe 2024-09-24Add photos from September 14June McEnroe 2024-09-24Add photos from September 12June McEnroe 2024-09-24Add photos from September 7June McEnroe 2024-09-24Allow not having descriptionsJune McEnroe 2024-09-23Automatically select the last used lens for a bodyJune McEnroe 2024-09-19Add photos from September 5June McEnroe 2024-09-15Add some more film stocks to the listJune McEnroe 2024-09-13Add photos from September 2June McEnroe 2024-09-13Add Fomapan 200 to films listJune McEnroe 2024-09-10Add August 29 picnic photosJune McEnroe 2024-09-08Apply some bold to trips renderingJune McEnroe 2024-09-08Render trips hopefully more efficientlyJune McEnroe 2024-09-08Allow removing bodies and lensesJune McEnroe 2024-09-08Limit body width so it looks less silly on desktopJune McEnroe 2024-09-07Handle no film being loadedJune McEnroe 2024-09-07Fancy up the text a littleJune McEnroe