From 4ebe3fdab9929310502833d8ba85449fd3428f34 Mon Sep 17 00:00:00 2001 From: Flinner Date: Tue, 12 Oct 2021 07:37:08 +0300 Subject: [PATCH] :( --- alacritty/.config/alacritty/alacritty.yml | 2 +- bspwm/.config/bspwm/noswallow | 1 + doom/.local/share/applications/.gitignore | 1 + emacs.mine/.config/emacs.mine/emacs.org | 12 +++++++++--- latexmk/.latexmkrc | 0 nvim/.config/nvim/coc-settings.json | 10 ---------- .../ranger/plugins/ranger_devicons/devicons.py | 2 +- sxhkd/.config/sxhkd/sxhkdrc | 2 +- vim/.vimrc | 5 ++++- zsh/.zshrc | 7 +++++++ 10 files changed, 25 insertions(+), 17 deletions(-) create mode 100644 bspwm/.config/bspwm/noswallow create mode 100644 doom/.local/share/applications/.gitignore create mode 100644 latexmk/.latexmkrc diff --git a/alacritty/.config/alacritty/alacritty.yml b/alacritty/.config/alacritty/alacritty.yml index 2d13cfd..ad63741 100644 --- a/alacritty/.config/alacritty/alacritty.yml +++ b/alacritty/.config/alacritty/alacritty.yml @@ -245,7 +245,7 @@ font: # Window opacity as a floating point number from `0.0` to `1.0`. # The value `0.0` is completely transparent and `1.0` is opaque. #background_opacity: 1.0 -background_opacity: 0.90 +background_opacity: 0.95 #selection: # This string contains all characters that are used as separators for "semantic words" in Alacritty. diff --git a/bspwm/.config/bspwm/noswallow b/bspwm/.config/bspwm/noswallow new file mode 100644 index 0000000..6eb3c49 --- /dev/null +++ b/bspwm/.config/bspwm/noswallow @@ -0,0 +1 @@ +Dragon-drag-and-drop diff --git a/doom/.local/share/applications/.gitignore b/doom/.local/share/applications/.gitignore new file mode 100644 index 0000000..d0f6562 --- /dev/null +++ b/doom/.local/share/applications/.gitignore @@ -0,0 +1 @@ +*.desktop diff --git a/emacs.mine/.config/emacs.mine/emacs.org b/emacs.mine/.config/emacs.mine/emacs.org index 7b5eccc..2e30e81 100644 --- a/emacs.mine/.config/emacs.mine/emacs.org +++ b/emacs.mine/.config/emacs.mine/emacs.org @@ -208,9 +208,9 @@ should i really be commiting this? :> ** List my passwords :( #+begin_src emacs-lisp - (setq my/secret/znc/flinner.my.to/secret (secrets-get-secret "local" "znc/flinner.my.to")) - (setq my/secret/znc/flinner.my.to/username - (cdr (assq :username (secrets-get-attributes "local" "znc/flinner.my.to")))) + ;; (setq my/secret/znc/flinner.my.to/secret (secrets-get-secret "local" "znc/flinner.my.to")) + ;; (setq my/secret/znc/flinner.my.to/username + ;; (cdr (assq :username (secrets-get-attributes "local" "znc/flinner.my.to")))) #+end_src * Help @@ -1444,6 +1444,12 @@ Better Diff in header sizes :hook (c++-mode . lsp)) #+end_src +*** python +#+begin_src emacs-lisp + (add-hook 'python-mode-hook 'lsp) + (add-hook 'python-mode-hook 'prettify-symbols-mode) +#+end_src + * Misc ** Restart Emacs #+begin_src emacs-lisp diff --git a/latexmk/.latexmkrc b/latexmk/.latexmkrc new file mode 100644 index 0000000..e69de29 diff --git a/nvim/.config/nvim/coc-settings.json b/nvim/.config/nvim/coc-settings.json index 496cca2..e69de29 100644 --- a/nvim/.config/nvim/coc-settings.json +++ b/nvim/.config/nvim/coc-settings.json @@ -1,10 +0,0 @@ -{ - "languageserver": { - "vlang": { - "command": "vls", - "rootPatterns": ["v.mod"], - "trace.server": "verbose", - "filetypes": ["vlanga"] - } - } -} diff --git a/ranger/.config/ranger/plugins/ranger_devicons/devicons.py b/ranger/.config/ranger/plugins/ranger_devicons/devicons.py index 94bdcfa..eca3615 100644 --- a/ranger/.config/ranger/plugins/ranger_devicons/devicons.py +++ b/ranger/.config/ranger/plugins/ranger_devicons/devicons.py @@ -176,7 +176,7 @@ file_node_extensions = { 'swift' : '', 't' : '', 'tar' : '', - 'tex' : 'ﭨ', + 'tex' : '', 'tgz' : '', 'toml' : '', 'ts' : '', diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc index cbc879f..b7ea857 100644 --- a/sxhkd/.config/sxhkd/sxhkdrc +++ b/sxhkd/.config/sxhkd/sxhkdrc @@ -71,7 +71,7 @@ super + g #======================== scripts and other ===== #Lockscreen -super + {Pause} +super + {Home} {~/bin/wm/lockscreen} #============================= diff --git a/vim/.vimrc b/vim/.vimrc index 247734f..9d858af 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -88,6 +88,7 @@ let g:coc_global_extensions = [ \ 'coc-html', \ 'coc-css', \ 'coc-prettier', + \ 'coc-clangd', \ 'coc-json', \ 'coc-emoji', \ ] @@ -103,6 +104,7 @@ set hidden set nu set wrap set smartcase +set ignorecase set noswapfile set nobackup set undodir=~/.vim/undodir @@ -160,7 +162,7 @@ nnoremap oT :term " open t " }}} " "Function keys {{{ -autocmd filetype tex nnoremap :LLPStartPreview "compile +autocmd filetype tex nnoremap :LLPStartPreview nnoremap :TagbarToggle " }}} @@ -240,6 +242,7 @@ set termguicolors " enable true colors support set background=dark colorscheme gruvbox hi Normal guibg=NONE ctermbg=NONE " trasnperant! +highlight SignColumn guibg=NONE if executable('rg') let g:rg_derive_root='true' diff --git a/zsh/.zshrc b/zsh/.zshrc index 071b9cd..b3f3840 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -109,6 +109,11 @@ bindkey '^D' exit_zsh autoload -Uz url-quote-magic zle -N self-insert url-quote-magic +#  should kill upto to the slash +autoload -U select-word-style +select-word-style bash + + SAVEHIST=1000 HISTSIZE=1000 @@ -167,6 +172,8 @@ alias l='ls -CF' alias sl='ls -CF' alias ls='ls --color=auto' +alias please='sudo $(fc -ln -1)' + alias p='paru' alias grep='grep --color=auto'