diff options
| author | Ryan Schanzenbacher <ryan@rschanz.org> | 2026-08-24 01:47:36 -0400 |
|---|---|---|
| committer | Ryan Schanzenbacher <ryan@rschanz.org> | 2026-08-24 01:47:36 -0400 |
| commit | 6c4fc5e429f362c0c5544d34f17285c4cfc16ba8 (patch) | |
| tree | 47177652c89aeafe7dde2396277c76e1c464eec1 /home-config/nvim/config/init.vim | |
| parent | 72d1c1aae5c6ef87a88e81111a74d7b041c57a22 (diff) | |
remove old filesand bump nix-files
Diffstat (limited to 'home-config/nvim/config/init.vim')
| -rw-r--r-- | home-config/nvim/config/init.vim | 90 |
1 files changed, 0 insertions, 90 deletions
diff --git a/home-config/nvim/config/init.vim b/home-config/nvim/config/init.vim deleted file mode 100644 index 15120de..0000000 --- a/home-config/nvim/config/init.vim +++ /dev/null | |||
| @@ -1,90 +0,0 @@ | |||
| 1 | set nu rnu | ||
| 2 | imap kj <Esc> | ||
| 3 | set ts=4 | ||
| 4 | set sw=4 | ||
| 5 | set sts=4 | ||
| 6 | set et | ||
| 7 | set mouse= | ||
| 8 | set cursorline | ||
| 9 | set cc=79 | ||
| 10 | |||
| 11 | call plug#begin(stdpath('data') . '/plugged') | ||
| 12 | "Plug 'prabirshrestha/vim-lsp' | ||
| 13 | "Plug 'mattn/vim-lsp-settings' | ||
| 14 | "Plug 'prabirshrestha/asyncomplete.vim' | ||
| 15 | "Plug 'prabirshrestha/asyncomplete-lsp.vim' | ||
| 16 | "Plug 'Yggdroot/indentLine' | ||
| 17 | Plug 'nvim-treesitter/nvim-treesitter', {'do':':TSUpdate'} | ||
| 18 | Plug 'vim-pandoc/vim-pandoc' | ||
| 19 | Plug 'vim-pandoc/vim-pandoc-syntax' | ||
| 20 | Plug 'dhruvasagar/vim-table-mode' | ||
| 21 | Plug 'skywind3000/asyncrun.vim' | ||
| 22 | Plug 'folke/tokyonight.nvim', {'branch':'main'} | ||
| 23 | Plug 'nvim-lualine/lualine.nvim' | ||
| 24 | Plug 'nvim-tree/nvim-web-devicons' | ||
| 25 | Plug 'ms-jpq/coq_nvim', {'branch':'coq'} | ||
| 26 | Plug 'ms-jpq/coq.artifacts', {'branch':'artifacts'} | ||
| 27 | Plug 'williamboman/mason.nvim' | ||
| 28 | Plug 'williamboman/mason-lspconfig.nvim' | ||
| 29 | Plug 'neovim/nvim-lspconfig' | ||
| 30 | "Plug 'nvim-orgmode/orgmode' | ||
| 31 | Plug 'https://codeberg.org/andyg/leap.nvim' | ||
| 32 | Plug 'xiyaowong/transparent.nvim' | ||
| 33 | Plug 'chentoast/marks.nvim' | ||
| 34 | call plug#end() | ||
| 35 | |||
| 36 | "Load Theme | ||
| 37 | colorscheme tokyonight-night | ||
| 38 | |||
| 39 | "Load COQ Autocomplete | ||
| 40 | let g:coq_settings = {'auto_start':'shut-up'} | ||
| 41 | |||
| 42 | "Load LuaLine, COQ, and nvim-orgmode | ||
| 43 | lua << END | ||
| 44 | require('lualine').setup() | ||
| 45 | require('coq') | ||
| 46 | require("transparent") | ||
| 47 | require("mason").setup() | ||
| 48 | require("mason-lspconfig").setup { | ||
| 49 | ensure_installed = { "pyright" }, | ||
| 50 | } | ||
| 51 | |||
| 52 | -- nvim marks | ||
| 53 | require'marks'.setup { | ||
| 54 | default_mappings = true | ||
| 55 | } | ||
| 56 | |||
| 57 | -- Leap keybinds | ||
| 58 | config = function(_, opts) | ||
| 59 | vim.keymap.set({'n', 'x', 'o'}, 's', '<Plug>(leap-forward)') | ||
| 60 | vim.keymap.set({'n', 'x', 'o'}, 'S', '<Plug>(leap-backward)') | ||
| 61 | vim.keymap.set({'n', 'x', 'o'}, 'gs', '<Plug>(leap-from-window)') | ||
| 62 | end | ||
| 63 | |||
| 64 | require'nvim-treesitter'.install { 'zig','go','python','vim' } | ||
| 65 | |||
| 66 | vim.opt.conceallevel = 2 | ||
| 67 | vim.opt.concealcursor = nc | ||
| 68 | |||
| 69 | --local lspconfig = require('lspconfig') | ||
| 70 | END | ||
| 71 | |||
| 72 | "asynccomplete Auto Complete Config | ||
| 73 | "inoremap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>" | ||
| 74 | "inoremap <expr> <S-Tab> pumvisible() ? "\<C-p>" : "\<S-Tab>" | ||
| 75 | "inoremap <expr> <cr> pumvisible() ? asyncomplete#close_popup() : "\<cr>" | ||
| 76 | |||
| 77 | "vim-pandoc config | ||
| 78 | let g:pandoc#modules#disabled = ['spell', 'folding'] | ||
| 79 | |||
| 80 | "vim-table-mode config | ||
| 81 | let g:table_mode_corner_corner='+' | ||
| 82 | let g:table_mode_header_fillchar='=' | ||
| 83 | |||
| 84 | "pandoc render and open preview | ||
| 85 | command Pv AsyncRun zathura '%:r.pdf' | ||
| 86 | command Rd silent exec "!pandoc -t pdf -o %:r.pdf --from=markdown+escaped_line_breaks -V geometry:margin=1in %" | ||
| 87 | command Rr exec "!pandoc -t pdf -o %:r.pdf --from=markdown+escaped_line_breaks -V geometry:margin=1in %" | ||
| 88 | |||
| 89 | "Auto-rerender markdown files to pdf | ||
| 90 | autocmd BufWritePost *.mkd :Rd | ||
