master
simonkellet 2 years ago
parent c3f73a7863
commit 9d21e238eb
  1. 2
      alacritty/alacritty.yml
  2. 4
      i3/config
  3. 64
      kitty/kitty.conf
  4. 50
      nvim/init.vim
  5. 14
      nvim/spell/en.utf-8.add
  6. BIN
      nvim/spell/en.utf-8.add.spl

@ -111,7 +111,7 @@ font:
#family: Blex Mono Bold Nerd Font Complete #family: Blex Mono Bold Nerd Font Complete
family: Comic Code Ligatures family: Comic Code Ligatures
style: style:
size: 6.95 size: 12
url: url:
# URL launcher # URL launcher

@ -203,9 +203,9 @@ bindsym $mod+shift+BackSpace gaps inner all set 0; gaps outer all set 0
#### Programs #### Programs
bindsym $mod+Return exec kitty bindsym $mod+Return exec kitty
bindsym $mod+Shift+Return exec alacritty -e ~/.scripts/web bindsym $mod+Shift+Return exec alacritty -e ~/.scripts/web
bindsym $mod+Ctrl+Return exec alacritty bindsym $mod+Ctrl+Return exec alacritty -e ~/.scripts/mc
bindsym $mod+x exec xinput-gui bindsym $mod+x exec xinput-gui
bindsym $mod+c exec gnome-calendar bindsym $mod+c exec brave https://calendar.google.com/calendar/u/0/r?pli=1
bindsym $mod+Shift+b exec blueman-manager bindsym $mod+Shift+b exec blueman-manager
bindsym $mod+p exec bwmenu bindsym $mod+p exec bwmenu
bindsym $mod+Shift+f exec --no-startup-id nautilus bindsym $mod+Shift+f exec --no-startup-id nautilus

@ -7,9 +7,10 @@
#: characters. #: characters.
#font_family Fira Code Regular #font_family Fira Code Regular
font_family SauceCodePro Nerd Font
#font_family IBM Plex Mono #font_family IBM Plex Mono
#font_family BlexMono Nerd Font #font_family BlexMono Nerd Font
font_family Comic Code Ligatures #font_family Comic Code Ligatures
bold_font auto bold_font auto
italic_font auto italic_font auto
bold_italic_font auto bold_italic_font auto
@ -26,7 +27,7 @@ bold_italic_font auto
#: italic_font Operator Mono Book Italic #: italic_font Operator Mono Book Italic
#: bold_italic_font Operator Mono Medium Italic #: bold_italic_font Operator Mono Medium Italic
font_size 12.0 font_size 13.0
#: Font size (in pts) #: Font size (in pts)
@ -567,7 +568,7 @@ enable_audio_bell no
#: values set top, horizontal and bottom. Four values set top, right, #: values set top, horizontal and bottom. Four values set top, right,
#: bottom and left. #: bottom and left.
window_padding_width 20 window_padding_width 0
#: The window padding (in pts) (blank area between the text and the #: The window padding (in pts) (blank area between the text and the
#: window border). A single value sets all four sides. Two values set #: window border). A single value sets all four sides. Two values set
@ -756,9 +757,8 @@ tab_bar_style powerline
#: }}} #: }}}
#: Color scheme {{{ #: Color scheme {{{
# foreground #eeeeee
foreground #eeeeee # background #282828
background #282828
#: The foreground and background colors #: The foreground and background colors
@ -832,46 +832,46 @@ background #282828
#: dull and bright version, for the first 16 colors. You can set the #: dull and bright version, for the first 16 colors. You can set the
#: remaining 240 colors as color16 to color255. #: remaining 240 colors as color16 to color255.
# Cursor # Cursor
cursor #abb2bf # cursor #abb2bf
cursor_text_color #282c34 # cursor_text_color #282c34
# Colors # Colors
foreground #abb2bf # foreground #abb2bf
background #282c34 # background #282c34
selection_foreground #282c34 # selection_foreground #282c34
selection_background #abb2bf # selection_background #abb2bf
# black # black
color0 #282c34 # color0 #282c34
color8 #3e4452 # color8 #3e4452
# red # red
color1 #e06c75 # color1 #e06c75
color9 #be5046 # color9 #be5046
# green # green
color2 #98c379 # color2 #98c379
color10 #98c379 # color10 #98c379
# yellow # yellow
color3 #e5c07b # color3 #e5c07b
color11 #d19a66 # color11 #d19a66
# blue # blue
color4 #61afef # color4 #61afef
color12 #61afef # color12 #61afef
# magenta # magenta
color5 #c678dd # color5 #c678dd
color13 #c678dd # color13 #c678dd
# cyan # cyan
color7 #56b6c2 # color7 #56b6c2
color14 #56b6c2 # color14 #56b6c2
# white # white
color7 #abb2bf # color7 #abb2bf
color15 #5c6370 # color15 #5c6370
# mark1_foreground black # mark1_foreground black
#: Color for marks of type 1 #: Color for marks of type 1
@ -1510,4 +1510,10 @@ listen_on unix:/tmp/kitty
#: }}} #: }}}
#: }}} #: }}}
include dracula.conf include frappe.conf
# BEGIN_KITTY_THEME
# Dracula
include current-theme.conf
# END_KITTY_THEME

@ -46,10 +46,35 @@ Plug 'gko/vim-coloresque'
Plug 'dracula/vim', { 'as': 'dracula' } Plug 'dracula/vim', { 'as': 'dracula' }
Plug 'joshdick/onedark.vim' Plug 'joshdick/onedark.vim'
Plug 'Mofiqul/dracula.nvim' Plug 'Mofiqul/dracula.nvim'
" Lang. Support " Lang. Support
Plug 'fatih/vim-go' """""""""""""""""""""""""""""""GO"""""""""""""""""""""""""""""""""""""""
Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }
Plug 'deoplete-plugins/deoplete-go', { 'do': 'make'}
set completeopt-=preview
" Go related keybinds
autocmd FileType go nmap <leader>r <Plug>(go-run)
" Move through errors easier!
map <C-n> :cnext<CR>
map <C-m> :cprevious<CR>
nnoremap <leader>a :cclose<CR>
" run :GoBuild or :GoTestCompile based on the go file
function! s:build_go_files()
let l:file = expand('%')
if l:file =~# '^\f\+_test\.go$'
call go#test#Test(0, 1)
elseif l:file =~# '^\f\+\.go$'
call go#cmd#Build(0)
endif
endfunction
autocmd FileType go nmap <leader>b :<C-u>call <SID>build_go_files()<CR>
let g:go_def_mode='gopls'
let g:go_info_mode='gopls'
let g:go_list_type = "quickfix"
""""""""""""""""""""""""""""""GO""""""""""""""""""""""""""""""""""""""""
" JAVA
Plug 'artur-shaik/vim-javacomplete2' Plug 'artur-shaik/vim-javacomplete2'
autocmd FileType java setlocal omnifunc=javacomplete#Complete autocmd FileType java setlocal omnifunc=javacomplete#Complete
@ -59,10 +84,11 @@ Plug 'zchee/deoplete-jedi'
Plug 'deoplete-plugins/deoplete-clang' Plug 'deoplete-plugins/deoplete-clang'
Plug 'davidhalter/jedi-vim' Plug 'davidhalter/jedi-vim'
" RUST
Plug 'rust-lang/rust.vim' Plug 'rust-lang/rust.vim'
Plug 'simrat39/rust-tools.nvim' Plug 'simrat39/rust-tools.nvim'
Plug 'neovim/nvim-lspconfig'
Plug 'neovim/nvim-lspconfig'
Plug 'preservim/nerdcommenter' Plug 'preservim/nerdcommenter'
Plug 'mattn/emmet-vim' Plug 'mattn/emmet-vim'
@ -76,7 +102,7 @@ noremap <F3> :Autoformat<CR>
" Indent Blanklines " Indent Blanklines
Plug 'lukas-reineke/indent-blankline.nvim' Plug 'lukas-reineke/indent-blankline.nvim'
" Writing " Writing in LaTeX
Plug 'junegunn/goyo.vim' Plug 'junegunn/goyo.vim'
Plug 'lervag/vimtex' Plug 'lervag/vimtex'
Plug 'xuhdev/vim-latex-live-preview', { 'for': 'tex' } Plug 'xuhdev/vim-latex-live-preview', { 'for': 'tex' }
@ -90,14 +116,15 @@ let g:livepreview_engine = 'xelatex'
set conceallevel=1 set conceallevel=1
let g:tex_conceal='abdmg' let g:tex_conceal='abdmg'
"Ultisnips " Ultisnips
Plug 'sirver/ultisnips' Plug 'sirver/ultisnips'
Plug 'honza/vim-snippets' Plug 'honza/vim-snippets'
let g:UltiSnipsExpandTrigger = '<tab>' let g:UltiSnipsExpandTrigger = '<tab>'
let g:UltiSnipsJumpForwardTrigger="<c-b>" let g:UltiSnipsJumpForwardTrigger="<c-b>"
let g:UltiSnipsJumpBackwardTrigger="<c-z>" let g:UltiSnipsJumpBackwardTrigger="<c-z>"
let g:UltiSnipsListSnippets="<c-;>" let g:UltiSnipsListSnippets="<c-;>"
"Zoxide
" Zoxide
Plug 'nanotee/zoxide.vim' Plug 'nanotee/zoxide.vim'
" Vim Wiki " Vim Wiki
@ -121,17 +148,21 @@ Plug 'ryanoasis/vim-devicons'
" Lightspeed " Lightspeed
Plug 'ggandor/lightspeed.nvim' Plug 'ggandor/lightspeed.nvim'
" Markdown Preview
Plug 'iamcco/markdown-preview.nvim', { 'do': { -> mkdp#util#install() }, 'for': 'markdown' }
call plug#end() call plug#end()
"let g:molokai_original = 1 "let g:molokai_original = 1
"let g:airline_theme='onedark' "let g:airline_theme='onedark'
"let g:airline_theme='dracula' "let g:airline_theme='dracula'
let g:ale_enable=1 let g:ale_enable=0
let g:ale_linters = { let g:ale_linters = {
\ 'python': ['pylint'], \ 'python': ['pylint'],
\ 'vim': ['vint'], \ 'vim': ['vint'],
\ 'cpp': ['clang'], \ 'cpp': ['clang'],
\ 'c': ['clang'] \ 'c': ['clang'],
\ 'go': ['gopls'],
\} \}
syntax on syntax on
filetype plugin indent on filetype plugin indent on
@ -223,6 +254,9 @@ nnoremap <A-o> :e<Space>
nnoremap <A-O> :tabe<Space> nnoremap <A-O> :tabe<Space>
nnoremap <A-v> :vsplit<Space> nnoremap <A-v> :vsplit<Space>
" Markdown Preview
nnoremap <leader>m :MarkdownPreviewToggle<CR>
" Screenshot command " Screenshot command
nnoremap <silent> <leader>s :!bash /home/simon/.scripts/vscrnpaste<CR><CR> nnoremap <silent> <leader>s :!bash /home/simon/.scripts/vscrnpaste<CR><CR>

@ -180,3 +180,17 @@ malloc
JVM JVM
Naur Naur
BNF BNF
src
CSCU9A5
EBNF
EOL
AST
CSCU9E5
toString
equals
Powerpoint
slideshow
HTML5
tannoy
Alexa
YT

Binary file not shown.
Loading…
Cancel
Save