changes you know the drilllll

main
Simon Kellet 3 years ago
parent 5193cecb81
commit 2bc158c35e
  1. 2
      .bash_aliases
  2. 1
      .bashrc
  3. 59
      nvim/init.vim
  4. 4
      qutebrowser/autoconfig.yml

@ -15,6 +15,8 @@ alias print="printf"
alias cfi3="nvim ~/.config/i3/config" alias cfi3="nvim ~/.config/i3/config"
alias cfi3s="nvim ~/.config/i3status/config" alias cfi3s="nvim ~/.config/i3status/config"
alias cfn="nvim ~/.config/nvim/init.vim"
alias c="cd ~/.config" alias c="cd ~/.config"
alias yt="youtube-viewer" alias yt="youtube-viewer"

@ -10,6 +10,7 @@ export BROWSER=brave
#export GNUPGHOME="${XDG_DATA_HOME:-$HOME/.local/share}/gnupg" #export GNUPGHOME="${XDG_DATA_HOME:-$HOME/.local/share}/gnupg"
# - Ui4axsk9mwfw? - # - Ui4axsk9mwfw? -
set -o vi
#ufetch #ufetch
#(cat $HOME/.config/wpg/sequences &) #(cat $HOME/.config/wpg/sequences &)
function lazygit() { function lazygit() {

@ -7,11 +7,13 @@ Plug 'editorconfig/editorconfig-vim'
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim' Plug 'junegunn/fzf.vim'
" LimeLight
Plug 'junegunn/limelight.vim'
" NERDTree " NERDTree
Plug 'scrooloose/nerdtree' Plug 'scrooloose/nerdtree'
" Improvements " Improvements Plug 'terryma/vim-multiple-cursors'
Plug 'terryma/vim-multiple-cursors'
Plug 'tpope/vim-eunuch' Plug 'tpope/vim-eunuch'
Plug 'tpope/vim-surround' Plug 'tpope/vim-surround'
Plug 'scrooloose/syntastic' Plug 'scrooloose/syntastic'
@ -31,14 +33,22 @@ Plug 'joshdick/onedark.vim'
" Lang. Support " Lang. Support
Plug 'fatih/vim-go' Plug 'fatih/vim-go'
Plug 'artur-shaik/vim-javacomplete2' Plug 'artur-shaik/vim-javacomplete2'
Plug 'Valloric/YouCompleteMe', { 'do': './install.py' } "Plug 'Valloric/YouCompleteMe', { 'do': './install.py' }
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
Plug 'zchee/deoplete-jedi'
Plug 'davidhalter/jedi-vim'
Plug 'rust-lang/rust.vim' Plug 'rust-lang/rust.vim'
Plug 'preservim/nerdcommenter' Plug 'preservim/nerdcommenter'
Plug 'mattn/emmet-vim' Plug 'mattn/emmet-vim'
" Code Folding
Plug 'tmhedberg/SimpylFold'
" Writing " Writing
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' }
" Plug 'conornewton/vim-latex-preview'
"Zoxide "Zoxide
Plug 'nanotee/zoxide.vim' Plug 'nanotee/zoxide.vim'
@ -77,8 +87,8 @@ set number relativenumber
colorscheme onedark colorscheme onedark
set nocompatible set nocompatible
set encoding=UTF-8 set encoding=UTF-8
set clipboard+=unnamedplus
let g:livepreview_previewer = 'zathura'
set mouse=a set mouse=a
" Map Leader " Map Leader
let mapleader = "," let mapleader = ","
@ -93,15 +103,40 @@ au BufNewFile ~/vimwiki/diary/*.md :silent 0r !~/.config/nvim/generate-vimwiki-d
let NERDTreeMapOpenInTab='<ENTER>' let NERDTreeMapOpenInTab='<ENTER>'
" Tex
let g:vimtex_complete_enabled = 1
let g:livepreview_previewer = 'zathura'
autocmd Filetype tex setl updatetime=1
" Fzf
let g:fzf_nvim_statusline = 0 " disable statusline overwriting let g:fzf_nvim_statusline = 0 " disable statusline overwriting
"remaps for fzf "remaps for fzf
nnoremap <silent> <leader><space> :Files<CR> nnoremap <silent> <leader><space> :Files<CR>
nnoremap <silent> <leader>w :Windows<CR> nnoremap <silent> <leader>w :Windows<CR>
nnoremap <silent> <leader>h :History<CR> nnoremap <silent> <leader>h :History<CR>
nnoremap <silent> <leader>g<space> :GFiles<CR> nnoremap <silent> <leader>G<space> :GFiles<CR>
nnoremap <silent> <leader>gs :GFiles?<CR> nnoremap <silent> <leader>GS :GFiles?<CR>
" Easy to update and reload nvim init file
nnoremap <Leader>e :e $MYVIMRC<CR>
nnoremap <Leader>S :source $MYVIMRC<CR>
" Deoplete
let g:deoplete#enable_at_startup = 1
autocmd InsertLeave,CompleteDone * if pumvisible() == 0 | pclose | endif
let g:jedi#completions_enabled = 0
let g:jedi#use_splits_not_buffers = "right"
" Limeligt Binds
nnoremap <Leader>l :Limelight!!<CR>
let g:limelight_conceal_guifg = 'DarkGray'
let g:limelight_conceal_guifg = '#777777'
let g:limelight_conceal_ctermfg = 'gray'
let g:limelight_conceal_ctermfg = 240
" <TAB>: completion.
inoremap <expr><TAB> pumvisible() ? "\<C-n>" : "\<TAB>"
" Switching windows " Switching windows
nnoremap <A-h> <C-w>h nnoremap <A-h> <C-w>h
nnoremap <A-j> <C-w>j nnoremap <A-j> <C-w>j
@ -109,12 +144,12 @@ nnoremap <A-k> <C-w>k
nnoremap <A-l> <C-w>l nnoremap <A-l> <C-w>l
" Move tabs " Move tabs
nnoremap <A-J> :tabp<CR> nnoremap <A-Down> :tabp<CR>
nnoremap <A-K> :tabn<CR> nnoremap <A-Up> :tabn<CR>
" Basic cmd commands " Basic cmd commands
nnoremap <A-o> :!touch<Space> nnoremap <A-n> :!touch<Space>
nnoremap <A-e> :tabe<Space> nnoremap <A-o> :tabe<Space>
nnoremap <A-v> :vsplit<Space> nnoremap <A-v> :vsplit<Space>
" Screenshot command " Screenshot command
@ -130,7 +165,7 @@ vmap < <gv
vmap > >gv vmap > >gv
" Open NERDTree " Open NERDTree
nnoremap <leader>n :NERDTreeToggle<CR> nnoremap <leader>N :NERDTreeToggle<CR>
" Vimwiki md2html " Vimwiki md2html
let g:vimwiki_list = [{ let g:vimwiki_list = [{

@ -22,10 +22,10 @@ settings:
scrolling.smooth: scrolling.smooth:
global: true global: true
statusbar.show: statusbar.show:
global: never global: always
tabs.position: tabs.position:
global: left global: left
tabs.show: tabs.show:
global: never global: always
tabs.width: tabs.width:
global: 2% global: 2%

Loading…
Cancel
Save