set nocompatible " be iMproved, required filetype on " required set timeoutlen=1000 set ttimeoutlen=5 " set the runtime path to include Vundle and initialize set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() Plugin 'VundleVim/Vundle.vim' " Keep Plugin commands between vundle#begin/end. " Actual code Plugin 'dense-analysis/ale' Plugin 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} Plugin 'peterhoeg/vim-qml' " Utilities Plugin 'kyazdani42/nvim-web-devicons' Plugin 'kyazdani42/nvim-tree.lua' " Plugin 'preservim/nerdtree' Plugin 'reedes/vim-pencil' Plugin 'thaerkh/vim-workspace' Plugin 'nvim-lua/plenary.nvim' Plugin 'nvim-telescope/telescope.nvim' " Appearance Plugin 'vim-airline/vim-airline' Plugin 'vim-airline/vim-airline-themes' " Music Plugin 'azadkuh/vim-cmus' " All of your Plugins must be added before the following line call vundle#end() " required filetype plugin indent on " required " Brief help " :PluginList - lists configured plugins " :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate " :PluginSearch foo - searches for foo; append `!` to refresh local cache " :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal " " see :h vundle for more details or wiki for FAQ " Put your non-Plugin stuff after this line syntax on set encoding=utf-8 set fileformat=unix set number set foldmethod=indent set foldlevel=99 set tabstop=4 set softtabstop=4 set shiftwidth=4 set expandtab set autoindent set background=dark let g:airline_theme='onedark' inoremap :wi nnoremap n :noh nnoremap b :!black %:e nnoremap s :ToggleWorkspace let g:workspace_session_directory = $HOME . '/.vim/sessions/' let g:workspace_session_disable_on_args = 1 let g:workspace_autosave = 0 nnoremap f :Telescope find_files nnoremap g :Telescope live_grep nnoremap fb :Telescope buffers nnoremap fh :Telescope help_tags nnoremap c :Cmus nnoremap p :PencilToggle let g:pencil#map#suspend_af = 'K' let g:pencil#textwidth = 74 augroup pencil autocmd! autocmd FileType markdown,mkd call pencil#init() autocmd FileType text call pencil#init() augroup END nnoremap a :ALEToggle nnoremap :NvimTreeToggle nnoremap t :NvimTreeFocus nnoremap r :NvimTreeRefresh " NvimTreeOpen, NvimTreeClose, NvimTreeFocus, NvimTreeFindFileToggle, and NvimTreeResize are also available if you need them set termguicolors " this variable must be enabled for colors to be applied properly " a list of groups can be found at `:help nvim_tree_highlight` highlight NvimTreeFolderIcon guibg=blue