let mapleader ="," set nocompatible filetype off execute pathogen#infect() set rtp+=~/.config/nvim/bundle/Vundle.vim call vundle#begin() Plugin 'VundleVim/Vundle.vim' let $NVIM_TUI_ENABLE_TRUE_COLOR=1 let &t_8f = "\[38:2:%lu:%lu:%lum" let &t_8b = "\[48:2:%lu:%lu:%lum" set termguicolors colo termcolors let g:python_highlight_all = 1 syntax on filetype plugin indent on autocmd BufNewFile,BufRead,BufWritePost *.zsh-theme set syntax=zsh autocmd BufNewFile,BufRead,BufWritePost *.lalrpop set syntax=rust autocmd BufNewFile,BufRead,BufWritePost *.cxpr set syntax=complexpr nnoremap B :call box#Draw() " settings set autoindent set noexpandtab set tabstop=4 set shiftwidth=0 set hlsearch set number relativenumber set encoding=utf-8 set nofoldenable set laststatus=2 set noshowmode set modeline set mouse=a let g:lightline = { \ 'colorscheme': 'termcolors', \ } let g:LanguageClient_serverCommands = { \ 'rust': ['rust-analyzer'], \ } " Custom bindings for system copy-paste nmap "+yy nmap "+cc nmap "+p vmap "+y vmap "+c vmap "+p " Switching tabs nmap :tabedit nmap 1gt nmap 2gt nmap 3gt nmap 4gt nmap 5gt nmap 6gt nmap 7gt nmap 8gt nmap 9gt nmap 10gt nmap H gT nmap L gt " Split navigation set splitbelow set splitright nmap h nmap j nmap k nmap l " hexHighlight plugin nmap h ToggleHexHighlight nmap H ToggleSchemeHighlight " Remove arrow key functionality noremap noremap noremap noremap inoremap inoremap inoremap inoremap " remove ex mode shortcut map Q " Run file from shell nnoremap r :w:!%:p " Map to stop highlighting matches map :noh " VimWiki bindings map t :VimwikiTabnewLink map s :VimwikiSplitLink " resize automatically autocmd VimEnter * :silent exec "!kill -s SIGWINCH $PPID"