diff options
| author | Ariel D'Alessandro <ariel.dalessandro@auto1.com> | 2023-01-18 12:09:21 +0100 |
|---|---|---|
| committer | Ariel D'Alessandro <ariel.dalessandro@auto1.com> | 2023-01-18 12:09:21 +0100 |
| commit | b3b19c488dfd8688fb3813f553b509cd87ad8462 (patch) | |
| tree | ca7b243912e5904f6ea49e28789974d006de285f /plugin | |
| parent | a04f9cd914055244f29e9ff17aa7a723f5db2405 (diff) | |
| download | nvim-conf-b3b19c488dfd8688fb3813f553b509cd87ad8462.tar.gz nvim-conf-b3b19c488dfd8688fb3813f553b509cd87ad8462.zip | |
feat: improve lazy configuration on how loading plugins
Diffstat (limited to 'plugin')
| -rw-r--r-- | plugin/git.vim | 7 | ||||
| -rw-r--r-- | plugin/test.lua | 40 |
2 files changed, 0 insertions, 47 deletions
diff --git a/plugin/git.vim b/plugin/git.vim deleted file mode 100644 index f347972..0000000 --- a/plugin/git.vim +++ /dev/null @@ -1,7 +0,0 @@ -nmap <Leader>gdh :diffget //2<CR> -nmap <Leader>gdl :diffget //3<CR> - -nnoremap <leader>ga :Git fetch --all -p<CR> -nnoremap <leader>gl :Git pull<CR> -nnoremap <leader>gpp :Git push<CR> -nnoremap <leader>gpo :Git push -u origin HEAD<CR> diff --git a/plugin/test.lua b/plugin/test.lua deleted file mode 100644 index 110c5c2..0000000 --- a/plugin/test.lua +++ /dev/null @@ -1,40 +0,0 @@ -local hydra = require("hydra") - -vim.g["test#preserve_screen"] = 1 - -vim.cmd([[ - let test#php#pest#executable = './vendor/bin/sail test' - let test#strategy = 'neovim' - let test#neovim#term_position = 'vert' - let g:test#preserve_screen = 1 -]]) - -local hint = [[ - Vim Tests - _n_: Near test _f_: Current file _s_: Test Suit ^ - _l_: Test Last _g_: Visit - ^ ^ _<Esc>_ ^ -]] - -hydra({ - name = "vimtest", - hint = hint, - mode = "n", - config = { - color = "teal", - invoke_on_body = true, - hint = { - border = "rounded", - position = "bottom", - } - }, - body = "<leader>t", - heads = { - { "n", ":TestNearest<CR>" }, - { "f", ":TestFile<CR>" }, - { "s", ":TestSuit<CR>" }, - { "l", ":TestLast<CR>" }, - { "g", ":TestVisit<CR>" }, - { '<Esc>', nil, { exit = true } } - } -}) |