-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.vim
More file actions
43 lines (39 loc) · 1.06 KB
/
init.vim
File metadata and controls
43 lines (39 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
syntax on
set nu ru et
set ts=2 sts=2 sw=2
set cursorline
set hlsearch
set clipboard=unnamedplus
"Remap so that Opt-up and down move lines
nnoremap <A-j> :m .+1<CR>==
nnoremap <A-k> :m .-2<CR>==
set nocompatible " be improved, required
filetype off " required
" store the plugins in plugged dir
call plug#begin('~/.config/nvim/plugged')
Plug 'morhetz/gruvbox'
Plug 'tpope/vim-fugitive'
Plug 'preservim/nerdtree'
Plug 'kien/ctrlp.vim'
Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }
Plug 'catppuccin/nvim', { 'branch': 'vim', 'as': 'catppuccin' }
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim'
Plug 'nvim-lua/plenary.nvim'
Plug 'greggh/claude-code.nvim'
Plug 'neovim/nvim-lspconfig'
call plug#end()
" select the color scheme
colorscheme catppuccin-mocha
" Mirror the NERDTree before showing it. This makes it the same on all tabs.
map <silent> <C-n> :NERDTreeFocus<CR>
lua << EOF
require('claude-code').setup({
window = {
split_ratio = 0.45,
position = "vertical",
}
})
vim.lsp.config('gopls', {})
vim.lsp.enable('gopls')
EOF