summaryrefslogtreecommitdiff
path: root/files/vim/vimrc
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2025-10-29 14:20:21 -0400
committerAndrew Opalach <andrew@akon.city> 2025-10-29 14:20:21 -0400
commit342f1dcf115f998cbb5d27c5593e215b01e5b7a4 (patch)
tree0cf3b25183d4e0e0081dae237f0d9b7a17f8e5d6 /files/vim/vimrc
parent544da1ba50d9cbf51a18ca0abf1db66b3baa7460 (diff)
downloaddotfiles-342f1dcf115f998cbb5d27c5593e215b01e5b7a4.tar.gz
dotfiles-342f1dcf115f998cbb5d27c5593e215b01e5b7a4.tar.bz2
dotfiles-342f1dcf115f998cbb5d27c5593e215b01e5b7a4.zip
Finish adding files from new moyo, misc updates
Diffstat (limited to 'files/vim/vimrc')
-rw-r--r--files/vim/vimrc10
1 files changed, 6 insertions, 4 deletions
diff --git a/files/vim/vimrc b/files/vim/vimrc
index 41e30fb..c40eeec 100644
--- a/files/vim/vimrc
+++ b/files/vim/vimrc
@@ -1,5 +1,3 @@
-" @TODO: Map 'd' to delete no yank
-
" Basic settings.
set nocompatible
set number
@@ -130,8 +128,9 @@ if isdirectory(expand("~/c"))
endif
set autocomplete
-set complete=.^5,w^5,b^5,u^5
-set completeopt=popup
+"set complete=.^6,w^6,b^6,u^6,i^6,d^6
+set complete=.^6,w^6,b^6,u^6
+set completeopt+=menu,popup
" Plugins.
let g:fugitive_no_maps = 1
@@ -182,6 +181,8 @@ nnoremap <S-l> <nop>
nmap <Tab> <nop>
" ctrl + c no-op.
nnoremap <C-c> <nop>
+" shift + x delete no yank.
+vnoremap X "_x
" Disable F1 for help.
nmap <F1> <nop>
" Disable q: for histroy.
@@ -266,6 +267,7 @@ nnoremap <silent> <expr> <Tab> Juliana#CompleteNTab("FOLD")
command Tabify set noexpandtab | %retab! | set expandtab
command Untabify set expandtab | %retab!
+" @TODO: noeol, nofixeol, binary
command Hex :%!xxd
command Unhex :%!xxd -r