Compare commits
7 Commits
90fd75b2ba
...
296f3e9f76
| Author | SHA1 | Date | |
|---|---|---|---|
| 296f3e9f76 | |||
| bd7c4d270d | |||
| 617f63ed17 | |||
| 5ba2bda934 | |||
| 73c18fa7b7 | |||
| 546c08a28e | |||
| 40f08b3783 |
9
bin/check
Executable file
9
bin/check
Executable file
@@ -0,0 +1,9 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -o errexit
|
||||||
|
|
||||||
|
cd ~/projects/personal/time-tracking/
|
||||||
|
source venv/bin/activate
|
||||||
|
source ~/.attendance_env
|
||||||
|
|
||||||
|
./call.py "${@}"
|
||||||
11
i3/config.j2
11
i3/config.j2
@@ -227,6 +227,17 @@ assign [class="^Wine$"] $workspace10
|
|||||||
|
|
||||||
bindsym $mod+Shift+v exec --no-startup-id redshift-toggle
|
bindsym $mod+Shift+v exec --no-startup-id redshift-toggle
|
||||||
|
|
||||||
|
# bindsym $mod+$pim_toggle \
|
||||||
|
# mark --add _source; \
|
||||||
|
# focus output eDP-1; \
|
||||||
|
# mark --add _origin; \
|
||||||
|
# workspace $workspace10; \
|
||||||
|
# mark --add _destination; \
|
||||||
|
# [con_mark="^_destination$"] swap container with mark "_source"; \
|
||||||
|
# [con_mark="^_source$"] focus; unmark _source; \
|
||||||
|
# [con_mark="^_origin$"] focus; unmark _origin; \
|
||||||
|
# [con_mark="^_destination$"] focus; unmark _destination; \
|
||||||
|
|
||||||
bindsym $mod+$pim_toggle \
|
bindsym $mod+$pim_toggle \
|
||||||
unmark _destination; \
|
unmark _destination; \
|
||||||
mark _source; \
|
mark _source; \
|
||||||
|
|||||||
24
vim/vimrc
24
vim/vimrc
@@ -53,11 +53,20 @@ Plug 'avh4/elm-format'
|
|||||||
Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }
|
Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }
|
||||||
Plug 'hashivim/vim-terraform'
|
Plug 'hashivim/vim-terraform'
|
||||||
|
|
||||||
|
Plug 'editorconfig/editorconfig-vim'
|
||||||
|
|
||||||
Plug 'leafgarland/typescript-vim'
|
Plug 'leafgarland/typescript-vim'
|
||||||
|
|
||||||
Plug 'prettier/vim-prettier', {
|
Plug 'prettier/vim-prettier', { 'do': 'yarn install' }
|
||||||
\ 'do': 'yarn install',
|
|
||||||
\ 'for': ['javascript', 'typescript', 'css', 'less', 'scss', 'json', 'graphql', 'markdown', 'vue', 'yaml', 'html'] }
|
Plug 'yuezk/vim-js'
|
||||||
|
Plug 'maxmellon/vim-jsx-pretty'
|
||||||
|
|
||||||
|
Plug 'evanleck/vim-svelte', {'branch': 'main'}
|
||||||
|
|
||||||
|
"Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||||||
|
|
||||||
|
" Plug 'Chiel92/vim-autoformat'
|
||||||
|
|
||||||
call plug#end()
|
call plug#end()
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
@@ -207,6 +216,11 @@ nnoremap <leader>d :diffupdate<CR>
|
|||||||
nmap <F9> :Goyo<CR>:TogglePencil<CR>:Limelight!!<CR>
|
nmap <F9> :Goyo<CR>:TogglePencil<CR>:Limelight!!<CR>
|
||||||
nmap <leader>w :Goyo<CR>:TogglePencil<CR>:Limelight!!<CR>
|
nmap <leader>w :Goyo<CR>:TogglePencil<CR>:Limelight!!<CR>
|
||||||
|
|
||||||
|
nmap <leader>c :%w !xclip -selection clipboard<CR>
|
||||||
|
nmap <leader>x :r !xclip -out -selection -clipboard<CR><CR>
|
||||||
|
|
||||||
|
nmap <leader>f :Autoformat<CR>
|
||||||
|
|
||||||
" no more ex mode
|
" no more ex mode
|
||||||
nnoremap Q <nop>
|
nnoremap Q <nop>
|
||||||
|
|
||||||
@@ -328,3 +342,7 @@ if v:version >= 700
|
|||||||
au BufLeave * let b:winview = winsaveview()
|
au BufLeave * let b:winview = winsaveview()
|
||||||
au BufEnter * if(exists('b:winview')) | call winrestview(b:winview) | endif
|
au BufEnter * if(exists('b:winview')) | call winrestview(b:winview) | endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
" https://github.com/golang/tools/blob/master/gopls/doc/vim.md
|
||||||
|
let g:go_def_mode='gopls'
|
||||||
|
let g:go_info_mode='gopls'
|
||||||
|
|||||||
Reference in New Issue
Block a user