mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
Update nvim
This commit is contained in:
parent
102aa36798
commit
13c6216796
6 changed files with 19 additions and 15 deletions
|
|
@ -1,5 +1,5 @@
|
|||
window:
|
||||
title: Alacritty
|
||||
title: Terminal
|
||||
class:
|
||||
instance: Alacritty
|
||||
general: Alacritty
|
||||
|
|
@ -7,7 +7,6 @@ window:
|
|||
x: 0
|
||||
y: 0
|
||||
|
||||
|
||||
font:
|
||||
antialias: lcd
|
||||
hinting: true
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ set $mod Mod4
|
|||
set $alt Mod1
|
||||
floating_modifier $mod
|
||||
|
||||
# Font
|
||||
# Set font
|
||||
font monospace 10
|
||||
font pango:JetBrains Mono 10
|
||||
|
||||
|
|
@ -26,7 +26,7 @@ exec --no-startup-id exec nitrogen --restore
|
|||
exec --no-startup-id exec setxkbmap "us,ua" ",winkeys" "grp:alt_shift_toggle" -option "ctrl:nocaps"
|
||||
exec --no-startup-id exec org.telegram.desktop
|
||||
exec --no-startup-id exec lxsession
|
||||
exec --no-startup-id exec xautolock -time 3 -locker "betterlockscreen --off 180 -t \"Computer is lockerd\" -l"
|
||||
exec_always --no-startup-id exec $HOME/.script/autolock
|
||||
exec_always --no-startup-id exec $HOME/.config/i3/bar.sh
|
||||
exec --no-startup-id exec discord
|
||||
#exec --no-startup-id exec conky
|
||||
|
|
@ -36,6 +36,7 @@ exec --no-startup-id exec discord
|
|||
|
||||
# Kill window
|
||||
bindsym $mod+q kill
|
||||
bindsym --release $mod+Shift+q exec xkill
|
||||
|
||||
# Restart i3wm
|
||||
bindsym $mod+Control+r restart
|
||||
|
|
|
|||
|
|
@ -9,10 +9,10 @@ call plug#begin('~/.vim/plugged')
|
|||
Plug 'itchyny/lightline.vim' " Status line
|
||||
Plug 'vimwiki/vimwiki', {'on': 'VimwikiIndex'} " Notes manager in (n)vim
|
||||
|
||||
" Color sheme
|
||||
" Color scheme
|
||||
Plug 'Smirnov-O/nten16.vim'
|
||||
|
||||
" Project/file nafigation
|
||||
" Project/file navigation
|
||||
Plug 'scrooloose/nerdtree', {'on': 'NERDTreeToggle'}
|
||||
Plug 'ryanoasis/vim-devicons', {'on': 'NERDTreeToggle'}
|
||||
Plug 'preservim/tagbar', {'on': 'TagbarToggle'}
|
||||
|
|
@ -32,6 +32,7 @@ call plug#begin('~/.vim/plugged')
|
|||
Plug 'mattn/emmet-vim', {'on': 'Emmet'}
|
||||
Plug 'cakebaker/scss-syntax.vim', {'for': 'scss'}
|
||||
Plug 'PotatoesMaster/i3-vim-syntax', {'for': 'i3'}
|
||||
Plug 'fatih/vim-go', {'for': 'go'}
|
||||
call plug#end()
|
||||
|
||||
" Colors
|
||||
|
|
@ -40,7 +41,7 @@ set background=dark
|
|||
colo nten16
|
||||
set t_Co=256
|
||||
|
||||
" Syntax & line numbars
|
||||
" Syntax & line numbers
|
||||
syntax on
|
||||
set number
|
||||
set relativenumber
|
||||
|
|
@ -88,6 +89,10 @@ set smartcase
|
|||
set hidden
|
||||
set smartindent
|
||||
|
||||
" Spell
|
||||
set spell
|
||||
set spelllang=en_us
|
||||
|
||||
" Disable sound
|
||||
set visualbell t_vb=
|
||||
|
||||
|
|
@ -178,6 +183,9 @@ let g:floaterm_width = 0.6
|
|||
let g:floaterm_autoclose = 2
|
||||
nmap <A-t> :FloatermNew<CR>
|
||||
|
||||
" Go
|
||||
let g:go_template_autocreate = 0
|
||||
|
||||
" == Maping
|
||||
let mapleader=","
|
||||
|
||||
|
|
@ -212,6 +220,3 @@ noremap <A-9> :tabn 9<CR>
|
|||
" Buffer(s)
|
||||
noremap <leader>p :bnext<CR>
|
||||
noremap <leader>o :bprev<CR>
|
||||
|
||||
" Autostart
|
||||
"autocmd VimEnter * execute "source ~/.config/nvim/init.vim"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue