diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | README.md | 5 | ||||
-rw-r--r-- | git/.gitconfig | 2 | ||||
-rw-r--r-- | vifm/.config/vifm/vifmrc | 1 | ||||
-rw-r--r-- | vim/.vim/spell/en.utf-8.add | 2 | ||||
-rw-r--r-- | vim/.vim/spell/en.utf-8.add.spl | bin | 1045 -> 1067 bytes | |||
-rw-r--r-- | vim/.vimrc | 39 |
7 files changed, 30 insertions, 20 deletions
@@ -1 +1,2 @@ plugins/* +tags @@ -1,11 +1,12 @@ # dotfiles This repository contains my configuration files. Whenever possible, I use tools that follow the Unix philosophy. -Being a *vim* user, I find it very convenient to use tools with *vi* keybindings: +I like *vim* for text editing, +and I find it very convenient to use tools with *vi* keybindings: + Window manager: **i3** + File manager: **vifm** -+ Browser: **uzbl** ++ Browser: **qutebrowser** + PDF viewer: **zathura** + Email client: **mutt** diff --git a/git/.gitconfig b/git/.gitconfig index 0e7df50..738c719 100644 --- a/git/.gitconfig +++ b/git/.gitconfig @@ -19,3 +19,5 @@ default = simple [merge] ff = true +[pull] + rebase = false diff --git a/vifm/.config/vifm/vifmrc b/vifm/.config/vifm/vifmrc index d7219ed..0dd5220 100644 --- a/vifm/.config/vifm/vifmrc +++ b/vifm/.config/vifm/vifmrc @@ -32,6 +32,7 @@ nnoremap gm :bmark<space> nnoremap gb :bmarks<cr> nnoremap g<cr> :!nvim %f<cr> nnoremap r :run<cr> +nnoremap T :tree!<cr> nnoremap ,b :backup<cr> nnoremap ,t :!urxvt &<cr> nnoremap ,l :!less %f<cr> diff --git a/vim/.vim/spell/en.utf-8.add b/vim/.vim/spell/en.utf-8.add index 04039f6..ed6a065 100644 --- a/vim/.vim/spell/en.utf-8.add +++ b/vim/.vim/spell/en.utf-8.add @@ -65,3 +65,5 @@ Stratonovich colorscheme colorscheme plugin +hypoellipticity +minorization diff --git a/vim/.vim/spell/en.utf-8.add.spl b/vim/.vim/spell/en.utf-8.add.spl Binary files differindex bfb7b60..e68d3e5 100644 --- a/vim/.vim/spell/en.utf-8.add.spl +++ b/vim/.vim/spell/en.utf-8.add.spl @@ -29,13 +29,12 @@ Plug 'junegunn/vim-slash' Plug 'justinmk/vim-dirvish' Plug 'justinmk/vim-sneak' Plug 'kshenoy/vim-signature' -Plug 'lervag/vimtex' +Plug 'lervag/vimtex', {'commit': '8287981'} Plug 'machakann/vim-highlightedyank' Plug 'majutsushi/tagbar' Plug 'mg979/vim-visual-multi' Plug 'neomake/neomake' Plug 'sjl/Gundo.vim', { 'on' : 'GundoToggle' } -" Plug 'terryma/vim-multiple-cursors' Plug 'tommcdo/vim-exchange' Plug 'tommcdo/vim-ninja-feet' Plug 'tpope/vim-abolish' @@ -77,6 +76,7 @@ Plug 'KKPMW/sacredforest-vim' Plug 'junegunn/seoul256.vim' Plug 'romainl/Apprentice' Plug 'arcticicestudio/nord-vim' +" Plug 'axvr/zepl.vim' call plug#end() "" Plugin configuration {{{1 @@ -144,6 +144,8 @@ if &runtimepath =~ 'remembrall' augroup END endif let g:remembrall_suffixes = [""] +let g:ripple_winpos = "vertical" +let g:ripple_term_name = "term: ripple" " Ultisnips nnoremap cps :UltiSnipsEdit<cr> @@ -188,13 +190,13 @@ let g:vimtex_view_method='zathura' let g:vimtex_quickfix_mode=2 let g:vimtex_compiler_progname='nvr' let g:vimtex_syntax_enabled=1 -" let g:vimtex_fold_types = { -" \ 'preamble' : {'enabled' : 0}, -" \ 'envs' : { -" \ 'blacklist' : ['lemma', 'proposition', 'theorem', 'equation'], -" \ 'whitelist' : ['proof'], -" \ }, -" \} +let g:vimtex_toc_config={ + \ 'layer_status': { + \ 'content': 1, + \ 'label': 0, + \ 'todo': 1, + \ 'include': 1 }, + \ 'show_help': 0} " Pilot let g:pilot_boundary='ignore' @@ -479,7 +481,8 @@ if has("nvim") endif "" Experimental {{{1 -autocmd Filetype python setl omnifunc=v:lua.vim.lsp.omnifunc +lua require'nvim_lsp'.pyls.setup{} +autocmd Filetype python setlocal omnifunc=v:lua.vim.lsp.omnifunc nnoremap <expr> <c-g> Remembrall('<c-g>') nnoremap <silent> <c-g>h <cmd>lua vim.lsp.buf.hover()<cr> nnoremap <silent> <c-g>a <cmd>lua vim.lsp.buf.declaration()<cr> @@ -487,12 +490,12 @@ nnoremap <silent> <c-g>d <cmd>lua vim.lsp.buf.definition()<cr> nnoremap <silent> <c-g>i <cmd>lua vim.lsp.buf.implementation()<cr> nnoremap <silent> <c-g>s <cmd>lua vim.lsp.buf.signature_help()<cr> nnoremap <silent> <c-g>t <cmd>lua vim.lsp.buf.type_definition()<cr> +nnoremap <silent> <c-g><c-g> <cmd>lua vim.lsp.stop_client(vim.lsp.get_active_clients())<cr> -" highlight LineNr ctermbg=159 ctermfg=27 guibg=#afffff guifg=#005fff -" highlight StatusLineNC ctermbg=22 ctermfg=121 guibg=#005f00 guifg=#87ffaf -" highlight Comment ctermbg=159 ctermfg=195 guibg=#afffff guifg=#d7ffff -" highlight Normal ctermbg=195 ctermfg=237 guibg=#d7ffff guifg=#3a3a3a -" highlight Special ctermfg=96 guifg=#875f87 -" highlight StatusLine ctermbg=131 ctermfg=223 guibg=#af5f5f guifg=#ffd7af -" highlight Statement ctermfg=65 guifg=#5f875f -" highlight Type ctermfg=254 guifg=#e4e4e4 +function Create_floating_buffer() + let buffer = nvim_create_buf(1, 0) + call nvim_open_win(buffer, 1, {'relative': 'editor', 'width': 100, 'height': 20, 'row': 10, 'col': 5}) +endfunction + +command! Fnew call Create_floating_buffer() +" let g:ripple_winpos = "Fnew" |