dotfiles

Dotfiles for my OpenBSD environment.
Log | Files | Refs

commit 6f5b31929d17510c38f59978fff2339253da2ad9
parent c62043ca8982c7044ac6336beb7eae4c8466840b
Author: Matsuda Kenji <ftvda283@gmail.com>
Date:   Mon,  8 Mar 2021 18:38:05 +0900

some change

Diffstat:
M.config/i3/config | 10+++++-----
M.config/nvim/init.vim | 12+++++++++---
2 files changed, 14 insertions(+), 8 deletions(-)

diff --git a/.config/i3/config b/.config/i3/config @@ -65,7 +65,7 @@ bindsym $mod+f fullscreen toggle # change container layout (stacked, tabbed, toggle split) bindsym $mod+s layout stacking bindsym $mod+w layout tabbed -#bindsym $mod+e layout toggle split +bindsym $mod+e layout default # toggle tiling / floating bindsym $mod+Shift+space floating toggle @@ -79,7 +79,7 @@ bindsym $mod+a focus parent # focus the child container bindsym $mod+c focus child -bindsym $mod+e exec dmenu_emoji +bindsym $mod+m exec dmenu_emoji # Define names for default workspaces for which we configure key bindings later on. # We use variables to avoid repeating the names in multiple places. @@ -153,9 +153,9 @@ bar { status_command i3blocks } -#bindsym $mod+b exec brave -high-dpi-support=1 -force-device-scale-factor=0.8 -bindsym $mod+b exec surf "https://searx.bar" -bindsym $mod+t exec surf twitter.com +bindsym $mod+b exec brave -high-dpi-support=1 -force-device-scale-factor=0.8 +#bindsym $mod+b exec surf "https://searx.bar" +#bindsym $mod+t exec surf twitter.com # Screen brightness controls set $refresh_brightness pkill -SIGRTMIN+2 i3blocks diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim @@ -8,6 +8,11 @@ set tabstop=4 set relativenumber set ambiwidth=double set viminfo+=n~/.cache/vim/viminfo +set undofile +if !isdirectory(expand("$XDG_CONFIG_HOME/nvim/undodir")) + call mkdir(expand("$XDG_CONFIG_HOME/nvim/undodir"), "p") +endif +set undodir=$XDG_CONFIG_HOME/nvim/undodir colorscheme desert noremap <c-h> <c-w><c-h> @@ -25,14 +30,15 @@ imap <down> <nop> imap <left> <nop> imap <right> <nop> +"html tag autocmd Filetype html inoremap ;1 <h1></h1><Esc>4hi autocmd Filetype html inoremap ;2 <h2></h2><Esc>4hi autocmd Filetype html inoremap ;3 <h3></h3><Esc>4hi autocmd Filetype html inoremap ;4 <h4></h4><Esc>4hi autocmd Filetype html inoremap ;5 <h5></h5><Esc>4hi autocmd Filetype html inoremap ;6 <h6></h6><Esc>4hi -autocmd Filetype html inoremap ;p <p></p><Esc>3hi +autocmd Filetype html inoremap ;pa <p><Return><Return></p><Esc>k autocmd Filetype html inoremap ;b <b></b><Esc>3hi autocmd Filetype html inoremap ;i <i></i><Esc>3hi -autocmd Filetype html inoremap ;pre <pre></pre><Esc>5hi -autocmd Filetype html inoremap ;cd <code></code><Esc>6hi +autocmd Filetype html inoremap ;pre <pre><Return><Return></pre><Esc>k +autocmd Filetype html inoremap ;cd <code><Return><Return></code><Esc>k