diff options
Diffstat (limited to '.config/nvim/lua/plugins.lua')
| -rw-r--r-- | .config/nvim/lua/plugins.lua | 136 |
1 files changed, 136 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua new file mode 100644 index 0000000..58cccbc --- /dev/null +++ b/.config/nvim/lua/plugins.lua | |||
| @@ -0,0 +1,136 @@ | |||
| 1 | -- ┌───────────────────┐ | ||
| 2 | -- │ ▜ ▗ │ | ||
| 3 | -- │▛▀▖▐ ▌ ▌▞▀▌▄ ▛▀▖▞▀▘│ | ||
| 4 | -- │▙▄▘▐ ▌ ▌▚▄▌▐ ▌ ▌▝▀▖│ | ||
| 5 | -- │▌ ▘▝▀▘▗▄▘▀▘▘ ▘▀▀ │ | ||
| 6 | -- └───────────────────┘ | ||
| 7 | |||
| 8 | return require('packer').startup(function() | ||
| 9 | -- Packer can manage itself | ||
| 10 | use 'wbthomason/packer.nvim' | ||
| 11 | |||
| 12 | -- latex suite | ||
| 13 | use {'lervag/vimtex', ft = {'tex', 'latex', 'plaintext'}} | ||
| 14 | |||
| 15 | -- still here | ||
| 16 | use 'dense-analysis/ale' | ||
| 17 | -- manages tag files | ||
| 18 | use 'ludovicchabant/vim-gutentags' | ||
| 19 | -- run tests (todo: write tests) | ||
| 20 | use 'janko/vim-test' | ||
| 21 | -- type in file send to repl | ||
| 22 | use 'jpalardy/vim-slime' | ||
| 23 | -- snippets to expand | ||
| 24 | use {'SirVer/ultisnips', 'honza/vim-snippets'} | ||
| 25 | -- Highlight the yanked region | ||
| 26 | use 'machakann/vim-highlightedyank' | ||
| 27 | |||
| 28 | -- auto pair plugin, people hate these | ||
| 29 | use 'tmsvg/pear-tree' | ||
| 30 | -- git diff in the sign column | ||
| 31 | use 'airblade/vim-gitgutter' | ||
| 32 | -- completion preview of floating window | ||
| 33 | use 'ncm2/float-preview.nvim' | ||
| 34 | |||
| 35 | -- language packs | ||
| 36 | use 'sheerun/vim-polyglot' | ||
| 37 | -- i3 config syntax | ||
| 38 | use 'mboughaba/i3config.vim' | ||
| 39 | -- kitty config filetype | ||
| 40 | use 'fladson/vim-kitty' | ||
| 41 | |||
| 42 | use{'junegunn/fzf', dir = '~/.fzf'} | ||
| 43 | use 'junegunn/fzf.vim' | ||
| 44 | |||
| 45 | -- file explorer | ||
| 46 | use 'lambdalisue/fern.vim' | ||
| 47 | -- bug in neovim, so required for now | ||
| 48 | -- https://github.com/lambdalisue/fern.vim/issues/120 | ||
| 49 | use 'antoinemadec/FixCursorHold.nvim' | ||
| 50 | |||
| 51 | -- displays tags ordered by scope | ||
| 52 | use 'majutsushi/tagbar' | ||
| 53 | -- Undo tree | ||
| 54 | use { | ||
| 55 | 'mbbill/undotree', | ||
| 56 | cmd = 'UndotreeToggle', | ||
| 57 | config = [[vim.g.undotree_SetFocusWhenToggle = 1]], | ||
| 58 | } | ||
| 59 | -- Highlight colors | ||
| 60 | use { | ||
| 61 | 'norcalli/nvim-colorizer.lua', | ||
| 62 | ft = { 'css', 'javascript', 'vim', 'html' }, | ||
| 63 | config = [[require('colorizer').setup {'css', 'javascript', 'vim', 'html'}]], | ||
| 64 | } | ||
| 65 | |||
| 66 | -- cutlass suite, x, d, \ys etc. | ||
| 67 | use { | ||
| 68 | 'svermeulen/vim-cutlass', | ||
| 69 | 'svermeulen/vim-subversive', | ||
| 70 | 'svermeulen/vim-yoink' | ||
| 71 | } | ||
| 72 | |||
| 73 | -- Personal wiki | ||
| 74 | use 'vimwiki/vimwiki' | ||
| 75 | -- centers the writing | ||
| 76 | use 'junegunn/goyo.vim' | ||
| 77 | -- highlights the current paragraph | ||
| 78 | use 'junegunn/limelight.vim' | ||
| 79 | -- change ASCII text to Turkish text | ||
| 80 | use 'yigitsever/turkish-deasciifier.vim' | ||
| 81 | |||
| 82 | -- text alignment \w :Tab | ||
| 83 | use 'godlygeek/tabular' | ||
| 84 | -- move selections up and down with alt+[j,k] | ||
| 85 | use 'matze/vim-move' | ||
| 86 | -- surround text objects; sa, sr and sd | ||
| 87 | use 'machakann/vim-sandwich' | ||
| 88 | -- provide additional text objects | ||
| 89 | use 'wellle/targets.vim' | ||
| 90 | -- indentation level text object, ia, ii | ||
| 91 | use 'michaeljsmith/vim-indent-object' | ||
| 92 | -- visual feedback for substitute holy shit this is amazing | ||
| 93 | use 'markonm/traces.vim' | ||
| 94 | -- see the contents of registers on "/<CTRL-R> | ||
| 95 | use 'junegunn/vim-peekaboo' | ||
| 96 | -- use <leader>k to highlight multiple words) | ||
| 97 | use 'lfv89/vim-interestingwords' | ||
| 98 | -- swap delimited items using g>, g< | ||
| 99 | use 'machakann/vim-swap' | ||
| 100 | -- jump to location by 2 characters, ` | ||
| 101 | use 'justinmk/vim-sneak' | ||
| 102 | -- reopen files at your last edit position | ||
| 103 | use 'farmergreg/vim-lastplace' | ||
| 104 | -- flash cursor on jump | ||
| 105 | use 'DanilaMihailov/beacon.nvim' | ||
| 106 | |||
| 107 | -- cursorline of the $CURRENT_YEAR | ||
| 108 | use { | ||
| 109 | 'hoob3rt/lualine.nvim', | ||
| 110 | requires = {'kyazdani42/nvim-web-devicons', opt = true} | ||
| 111 | } | ||
| 112 | -- colour theme of the $CURRENT_YEAR | ||
| 113 | use 'rose-pine/neovim' | ||
| 114 | |||
| 115 | -- enable repeating supported plugin maps with '.' | ||
| 116 | use 'tpope/vim-repeat' | ||
| 117 | -- pairs of handy bracket mappings | ||
| 118 | use 'tpope/vim-unimpaired' | ||
| 119 | -- git wrapper | ||
| 120 | use { | ||
| 121 | 'tpope/vim-fugitive', cmd = { 'Git', 'Gstatus', 'Gblame', 'Gpush', 'Gpull' } | ||
| 122 | } | ||
| 123 | -- increment dates, times & more | ||
| 124 | use 'tpope/vim-speeddating' | ||
| 125 | -- search, substitute and abbreviate | ||
| 126 | use 'tpope/vim-abolish' | ||
| 127 | -- provides ga, show unicode stuff of char under cursor | ||
| 128 | use 'tpope/vim-characterize' | ||
| 129 | -- comment helper | ||
| 130 | use 'tpope/vim-commentary' | ||
| 131 | -- asynchronous build and test dispatcher | ||
| 132 | use {'tpope/vim-dispatch', opt = true, cmd = {'Dispatch', 'Make', 'Focus', 'Start'}} | ||
| 133 | |||
| 134 | -- fancy start screen | ||
| 135 | use 'mhinz/vim-startify' | ||
| 136 | end) | ||
