Vitaliy Timtsurak 3 ay önce
ebeveyn
işleme
48f39dc20f

+ 2 - 0
config/bspwm/bspwmrc

@@ -126,6 +126,8 @@ bspc rule -a pavucontrol state=floating center=true
 bspc rule -a gnome-calculator state=floating center=true rectangle=200x600
 bspc rule -a arandr state=floating center=true
 bspc rule -a blueman-manager state=floating center=true
+bspc rule -a 7zfm state=floating center=true rectangle=1200x720
+bspc rule -a Happ state=floating center=true rectangle=900x600
 #bspc rule -a state=floating
 #bspc rule -a state=floating
 #bspc rule -a state=floating

+ 1 - 1
config/clipton/settings.toml

@@ -3,4 +3,4 @@ enable_titles = false
 show_num_lines = false
 feedback = true
 show_name = false
-show_shortcuts = false
+show_shortcuts = true

+ 3 - 0
config/nvim/coc-settings.json

@@ -0,0 +1,3 @@
+{
+  "snippets.ultisnips.pythonPrompt": false
+}

+ 44 - 18
config/nvim/init.vim

@@ -1,26 +1,25 @@
-"	$$$$$$$$\ $$$$$$$$\   $$\             $$\        $$$$$$\              $$\     
-"	\__$$  __|$$  _____|$$$$ |            $$ |      $$$ __$$\             $$ |    
-"	   $$ |   $$ |      \_$$ |   $$$$$$$\ $$$$$$$\  $$$$\ $$ | $$$$$$$\ $$$$$$\   
-"	   $$ |   $$$$$\      $$ |  $$  _____|$$  __$$\ $$\$$\$$ |$$  _____|\_$$  _|  
-"	   $$ |   $$  __|     $$ |  $$ /      $$ |  $$ |$$ \$$$$ |\$$$$$$\    $$ |    
-"	   $$ |   $$ |        $$ |  $$ |      $$ |  $$ |$$ |\$$$ | \____$$\   $$ |$$\ 
-"	   $$ |   $$$$$$$$\ $$$$$$\ \$$$$$$$\ $$ |  $$ |\$$$$$$  /$$$$$$$  |  \$$$$  |
-"	   \__|   \________|\______| \_______|\__|  \__| \______/ \_______/    \____/
+" $$$$$$$$\ $$$$$$$$\   $$\             $$\        $$$$$$\              $$\     
+" \__$$  __|$$  _____|$$$$ |            $$ |      $$$ __$$\             $$ |    
+"    $$ |   $$ |      \_$$ |   $$$$$$$\ $$$$$$$\  $$$$\ $$ | $$$$$$$\ $$$$$$\   
+"    $$ |   $$$$$\      $$ |  $$  _____|$$  __$$\ $$\$$\$$ |$$  _____|\_$$  _|  
+"    $$ |   $$  __|     $$ |  $$ /      $$ |  $$ |$$ \$$$$ |\$$$$$$\    $$ |    
+"    $$ |   $$ |        $$ |  $$ |      $$ |  $$ |$$ |\$$$ | \____$$\   $$ |$$\ 
+"    $$ |   $$$$$$$$\ $$$$$$\ \$$$$$$$\ $$ |  $$ |\$$$$$$  /$$$$$$$  |  \$$$$  |
+"    \__|   \________|\______| \_______|\__|  \__| \______/ \_______/    \____/
 
 "Base"
-:set number
-:set autoindent
-:set tabstop=4
-:set shiftwidth=4
-:set smarttab
-:set softtabstop=4
-:set mouse=a
-:set termguicolors
+set number
+set autoindent
+set tabstop=4
+set shiftwidth=4
+set smarttab
+set softtabstop=4
+set mouse=a
+set termguicolors
 set clipboard=unnamedplus
 
 "Plugins"
 call plug#begin()
-
 Plug 'vim-airline/vim-airline'
 Plug 'vim-airline/vim-airline-themes'
 Plug 'scrooloose/nerdtree'
@@ -29,19 +28,46 @@ Plug 'tpope/vim-surround'
 Plug 'morhetz/gruvbox'
 Plug 'EdenEast/nightfox.nvim'
 
+" --- НОВЫЕ ПЛАГИНЫ ---
+" Мощное автодополнение (нужен Node.js в системе)
+Plug 'neoclide/coc.nvim', {'branch': 'release'}
+" Подсветка синтаксиса для Nginx
+Plug 'chr4/nginx.vim'
 call plug#end()
 
+" Список расширений, которые должны быть установлены всегда
+let g:coc_global_extensions = [
+  \ 'coc-pyright',
+  \ 'coc-yaml',
+  \ 'coc-docker',
+  \ 'coc-snippets',
+  \ 'coc-json',
+  \ 'coc-sh',
+  \ '@yaegassy/coc-ansible',
+  \ 'coc-diagnostic'
+\ ]
+
 syntax enable
 colorscheme carbonfox
 
+" NERDTree config
 let NERDTreeShowHidden = 1
 nnoremap <C-n> :NERDTree<CR>
 nnoremap <C-t> :NERDTreeToggle<CR>
 
+" --- МОИ ХОТКЕИ ---
+" Открыть русскую шпаргалку в вертикальном сплите по F1
+nnoremap <F1> :vsplit ~/.config/nvim/cheatsheet.md<CR>
+
+" Автозакрытие окна coc.nvim (документации) при выборе автодополнения
+autocmd! CompleteDone * if pumvisible() == 0 | pclose | endif
+
+" Выбор автодополнения по Enter (для coc.nvim)
+inoremap <silent><expr> <CR> coc#pum#visible() ? coc#pum#confirm() : "\<CR>"
+
 " off arrows
 nnoremap <Left> :echoe "Use h"<CR>
 nnoremap <Right> :echoe "Use l"<CR>
 nnoremap <Up> :echoe "Use k"<CR>
 nnoremap <Down> :echoe "Use j"<CR>
-
 imap jj <ESC>

+ 4 - 0
config/sxhkd/sxhkdrc

@@ -152,6 +152,10 @@ super + {Left,Down,Up,Right}
 # --- DEV ---
 # --- 4. Управление системой ---
 
+#Скриншиот
+super + shift + s
+	flameshot gui
+
 # --- 5. Аппаратные клавиши (Громкость) ---
 # (Требует 'pulseaudio-ctl', который у тебя уже должен быть)
 

+ 1 - 1
home/.zshrc

@@ -28,7 +28,7 @@ export PATH=$PATH:$GOPATH/bin
 # See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
 ZSH_THEME="agnoster"
 
-plugins=(git sudo zsh-autosuggestions zsh-syntax-highlighting docker-compose docker golang magic-enter extract )
+plugins=(git sudo zsh-autosuggestions zsh-syntax-highlighting docker-compose docker golang magic-enter extract ansible)
 source $ZSH/oh-my-zsh.sh
 
 zstyle ':completion:*:*:docker:*' option-stacking yes