dotfiles

Cross platform dotfiles for linux, mac and windows
git clone git@getsh.org:dotfiles.git
Log | Files | Refs

commit 6cbe36c79bd818e83d9569a5364fc7f465053c98
parent ed8ca4cab59ba53e5d0c746c4dc8cb76f768ce04
Author: Bharatvaj <bharatvaj@yahoo.com>
Date:   Tue,  2 Aug 2022 23:21:18 +0530

Use doas for sudo

Sync neovim's hyper-red with vim's hyper-red

Add key-bindings <leader>gwq

Diffstat:
M.config/nvim/init.lua | 4++--
M.config/nvim/lua/keybindings.lua | 1+
M.config/sh/aliases | 3+++
M.config/vim/hyper-red.vim | 15+++++++--------
M.config/vim/vimrc | 1-
5 files changed, 13 insertions(+), 11 deletions(-)

diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua @@ -58,9 +58,9 @@ vim.cmd('hi VertSplit term=NONE cterm=NONE gui=NONE') vim.cmd('hi SignColumn ctermbg=NONE guibg=NONE') vim.cmd('hi Comment ctermfg=DarkGray guifg=DarkGray') vim.cmd('hi Statement ctermfg=Blue guifg=Blue') -vim.cmd('hi Type ctermfg=red guifg=red') +vim.cmd('hi Type ctermfg=LightGray guifg=LightGray') vim.cmd('hi PreProc ctermfg=LightGray guifg=LightGray') -vim.cmd('hi Constant ctermfg=blue guifg=blue') +vim.cmd('hi Constant ctermfg=LightGray guifg=LightGray') vim.cmd('hi Special ctermfg=red guifg=red') vim.cmd('hi Identifier ctermfg=white guifg=white') vim.cmd('hi Visual ctermbg=LightGray ctermfg=DarkGray guibg=LightGray guifg=DarkGray') diff --git a/.config/nvim/lua/keybindings.lua b/.config/nvim/lua/keybindings.lua @@ -111,3 +111,4 @@ map("n", "<leader>cd", ":ChecklistDisableCheckbox<cr>", { silent = true }); -- vim-fugitive map("n", "<leader>gg", ":Ggrep<space>", { silent = false }); map("n", "<leader>lg", ":Glgrep<space>", { silent = false }); +map("n", "<leader>gwq", ":Gwq<cr>", { silent = false }); diff --git a/.config/sh/aliases b/.config/sh/aliases @@ -7,6 +7,9 @@ alias mbsync='mbsync -c "$XDG_CONFIG_HOME"/isync/mbsyncrc' alias startx='startx "$XDG_CONFIG_HOME/X11/xinitrc" vt1' alias wget='wget --hsts-file="$XDG_CACHE_HOME/wget-hsts"' +# [misc] +alias doas=sudo + # [ls_conditioning] thwart sl && thwart ld && thwart lls && thwart sls && thwart lsl && thwart lss && thwart kls # [cd_conditioning] diff --git a/.config/vim/hyper-red.vim b/.config/vim/hyper-red.vim @@ -1,16 +1,15 @@ " Hyper Red -hi StatusLine ctermbg=white ctermfg=red -hi StatusLineNC ctermbg=white ctermfg=black -hi LineNr ctermbg=NONE ctermfg=Blue +hi LineNr ctermbg=NONE ctermfg=DarkGray set fillchars=vert:\│ hi VertSplit term=NONE cterm=NONE gui=NONE hi SignColumn ctermbg=NONE guibg=NONE -hi Comment ctermfg=Blue guifg=Blue +hi Comment ctermfg=DarkGray guifg=DarkGray hi Statement ctermfg=Blue guifg=Blue -hi Type ctermfg=Blue guifg=Blue +hi Type ctermfg=LightGray guifg=LightGray hi PreProc ctermfg=LightGray guifg=LightGray -hi Constant ctermfg=red guifg=red +hi Constant ctermfg=LightGray guifg=LightGray hi Special ctermfg=red guifg=red hi Identifier ctermfg=white guifg=white -hi Visual ctermbg=white ctermfg=black guibg=black guifg=black - +hi Visual ctermbg=LightGray ctermfg=DarkGray guibg=LightGray guifg=DarkGray +hi Search ctermbg=Blue ctermfg=Black guibg=Blue guifg=Black +hi Todo ctermbg=NONE ctermfg=Yellow guibg=NONE guifg=Yellow diff --git a/.config/vim/vimrc b/.config/vim/vimrc @@ -10,7 +10,6 @@ set number set mouse= set nocursorline set exrc -set t_te= " Turn backup off set nobackup