" set runtimepath^=~/.vim runtimepath+=~/.vim/after " let &packpath = &runtimepath " source ~/.vimrc call plug#begin() " The default plugin directory will be as follows: " - Vim (Linux/macOS): '~/.vim/plugged' " - Vim (Windows): '~/vimfiles/plugged' " - Neovim (Linux/macOS/Windows): stdpath('data') . '/plugged' " You can specify a custom plugin directory by passing it as the argument " - e.g. `call plug#begin('~/.vim/plugged')` " - Avoid using standard Vim directory names like 'plugin' " Make sure you use single quotes Plug 'nvim-lua/plenary.nvim' Plug 'neovim/nvim-lspconfig' Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} Plug 'sonph/onehalf', {'rtp': 'vim/'} Plug 'mileszs/ack.vim' Plug 'stevearc/aerial.nvim' Plug 'tpope/vim-unimpaired' Plug 'tpope/vim-fugitive' Plug 'tpope/vim-commentary' Plug 'airblade/vim-gitgutter' Plug 'nvim-lualine/lualine.nvim' Plug 'kyazdani42/nvim-web-devicons' Plug 'kyazdani42/nvim-tree.lua' Plug 'christoomey/vim-tmux-navigator' Plug 'akinsho/toggleterm.nvim', {'tag' : 'v2.*'} Plug 'hrsh7th/cmp-nvim-lsp' Plug 'hrsh7th/cmp-buffer' Plug 'hrsh7th/cmp-path' Plug 'hrsh7th/cmp-cmdline' Plug 'hrsh7th/nvim-cmp' Plug 'hrsh7th/cmp-vsnip' Plug 'hrsh7th/vim-vsnip' Plug 'nvim-telescope/telescope.nvim', { 'tag': '0.1.0' } Plug 'nvim-telescope/telescope-fzf-native.nvim', { 'do': 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release && cmake --install build --prefix build' } Plug 'rcarriga/nvim-notify' Plug 'michaelb/sniprun', {'do': 'bash install.sh'} Plug 'phaazon/hop.nvim' " Initialize plugin system call plug#end() set updatetime=500 set mouse=nv let g:python3_host_prog = '~/.pyenv/versions/neovim3/bin/python' luafile ~/.vim/init.lua luafile ~/.vim/lsp_config.lua if executable('ag') let g:ackprg = 'ag --vimgrep' endif if exists('+termguicolors') set termguicolors endif colorscheme onehalfdark set cursorline let mapleader="\\" set number set relativenumber set listchars=trail:.,tab:>_ set list set wrap set linebreak set autoread au BufRead,BufNewFile *.ipynb setlocal filetype=json au BufRead,BufNewFile *.md setlocal spell au BufRead,BufNewFile *.code-workspace setlocal filetype=json au BufRead,BufNewFile *.csv setlocal nowrap au BufRead,BufNewFile *.service[a-zA-Z0-9]* setlocal filetype=systemd au TermOpen * setlocal nonumber norelativenumber syntax on if &diff highlight! link DiffText MatchParen endif au OptionSet diff highlight! link DiffText MatchParen set expandtab set autoindent set smartindent filetype plugin indent on imap jk command Bd b# | bd # command! BufOnly silent! execute "%bd|e#|bd#" nnoremap a :Ack! nnoremap sr :SnipRun nnoremap ; Telescope builtin nnoremap ff Telescope find_files nnoremap fr Telescope resume nnoremap fg Telescope live_grep nnoremap fb Telescope buffers nnoremap fh Telescope help_tags nnoremap fk Telescope aerial nnoremap fd Telescope lsp_document_symbols nnoremap fe Telescope diagnostics nnoremap fn Telescope notify nnoremap ft Telescope treesitter nnoremap fz Telescope current_buffer_fuzzy_find nnoremap hl HopLine nnoremap hw HopWord nnoremap nt NvimTreeToggle set splitbelow set splitright