all repos

dotfiles @ 88cbabb

i use rach linux btw
3 files changed, 23 insertions(+), 9 deletions(-)
Add fterminal plug in nvim, xkill key in qtile
Author: Smirnov Olexandr ss2316544@gmail.com
Committed at: 2020-12-15 19:06:36 +0200
Parent: e6bd4f6
M bin/kbhl
···
                1
                1
                 #!/bin/sh

              
                2
                2
                 case "$1" in

              
                3
                3
                     "on"|"-on"|"--on"|1) xset led on     ;;

              
                4
                
                -    "off"|"-off"|"--off"|0) xset led off ;;

              
                
                4
                +    "of"|"off"|"-off"|"--off"|0) xset led off ;;

              
                5
                5
                 esac

              
                6
                6
                 

              
M config/nvim/init.vim
···
                6
                6
                     Plug 'iamcco/markdown-preview.nvim'

              
                7
                7
                     Plug 'dhruvasagar/vim-table-mode'

              
                8
                8
                     Plug 'easymotion/vim-easymotion'

              
                9
                
                -    Plug 'vifm/vifm.vim'

              
                
                9
                +    Plug 'voldikss/vim-floaterm'

              
                10
                10
                 

              
                11
                11
                     " File manger & seacher

              
                12
                12
                     Plug 'scrooloose/nerdtree', { 'on':  'NERDTreeToggle' }

              ···
                104
                104
                 let g:EasyMotion_do_mapping = 0

              
                105
                105
                 let g:EasyMotion_smartcase = 1

              
                106
                106
                 nmap f <Plug>(easymotion-s)

              
                107
                
                -map  <Leader>w <Plug>(easymotion-bd-w)

              
                
                107
                +nmap <Leader>w <Plug>(easymotion-bd-w)

              
                108
                108
                 nmap F <Plug>(easymotion-overwin-line)

              
                109
                109
                 nmap s <Plug>(easymotion-overwin-f2)

              
                110
                110
                 

              ···
                116
                116
                 " Indent guides

              
                117
                117
                 let g:indent_guides_enable_on_vim_startup = 1

              
                118
                118
                 

              
                
                119
                +" Floaterm

              
                
                120
                +nmap <A-t> :FloatermNew --name=vimterminal --position=top --autoclose=2<CR>

              
                
                121
                +imap <A-t> :FloatermNew --name=vimterminal --position=top --autoclose=2<CR>

              
                
                122
                +

              
                119
                123
                 " == Maping

              
                120
                124
                 "imap fd <Esc>

              
                121
                125
                 let mapleader=","

              
                122
                126
                 

              
                123
                
                -" Change window

              
                124
                
                -map <C-j> <C-W>j

              
                125
                
                -map <C-k> <C-W>k

              
                126
                
                -map <C-h> <C-W>h

              
                127
                
                -map <C-l> <C-W>l

              
                
                127
                +" Window

              
                
                128
                +nmap <C-h> :wincmd h<CR>

              
                
                129
                +nmap <C-j> :wincmd j<CR>

              
                
                130
                +nmap <C-k> :wincmd k<CR>

              
                
                131
                +nmap <C-l> :wincmd l<CR>

              
                
                132
                +nmap <A-q> :wincmd q<CR>

              
                
                133
                +nmap <A-c> :wincmd n<CR>

              
                
                134
                +nmap <A-z> :wincmd K<CR>

              
                
                135
                +nmap <A-x> :wincmd L<CR>

              
                
                136
                +nmap <A-h> :wincmd <<CR>

              
                
                137
                +nmap <A-l> :wincmd ><CR>

              
                128
                138
                 

              
                129
                139
                 " Tab's

              
                130
                140
                 noremap <C-Tab> :tabnext<CR>

              
M config/qtile/config.py
···
                176
                176
                         lazy.spawncmd(),

              
                177
                177
                         desc="Spawn a command using a prompt widget"

              
                178
                178
                     ),

              
                
                179
                +    Key([mod, "shift"], "Escape",

              
                
                180
                +        lazy.spawn("xkill"),

              
                
                181
                +        desc="Xkill"

              
                
                182
                +    )

              
                179
                183
                 ]

              
                180
                184
                 

              
                181
                185
                 # Workspaces name, keys

              ···
                299
                303
                         {"wname":   "pinentry"},

              
                300
                304
                         {"wmclass": "ssh-askpass"},

              
                301
                305
                 ])

              
                302
                
                -auto_fullscreen = False

              
                
                306
                +auto_fullscreen = True

              
                303
                307
                 focus_on_window_activation = "smart"

              
                304
                308
                 wmname = "LG3D"