chore(nvim): projectionist config
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
ac910375d6
commit
3c8fa4795e
24
nvimrc
24
nvimrc
|
@ -310,10 +310,28 @@ let g:projectionist_heuristics = {
|
|||
\ "type": "source",
|
||||
\ "alternate": "{}_test.go",
|
||||
\ },
|
||||
\ "etc/rbenv.d/*.bash": {"type": "hook"}
|
||||
\ },
|
||||
\ "*.rb": {
|
||||
\ "app/*.rb": {
|
||||
\ "type": "source",
|
||||
\ "alternate": "spec/{}_spec.rb",
|
||||
\ },
|
||||
\ "lib/*.rb": {
|
||||
\ "type": "source",
|
||||
\ "alternate": "spec/lib/{}_spec.rb",
|
||||
\ },
|
||||
\ "spec/*_spec.rb": {
|
||||
\ "type": "source",
|
||||
\ "alternate": "app/{}.rb",
|
||||
\ },
|
||||
\ "spec/lib/*_spec.rb": {
|
||||
\ "type": "source",
|
||||
\ "alternate": "lib/{}.rb",
|
||||
\ },
|
||||
\ },
|
||||
\ }
|
||||
\ }
|
||||
nnoremap <leader>A :A<cr>
|
||||
nnoremap <leader>a :A<cr>
|
||||
nnoremap <leader>A :AV<cr>
|
||||
|
||||
" aerial
|
||||
packadd! aerial.nvim " https://github.com/stevearc/aerial.nvim.git
|
||||
|
|
|
@ -6,5 +6,4 @@ require("aerial").setup({
|
|||
autojump = true,
|
||||
nerd_font = "auto",
|
||||
})
|
||||
vim.keymap.set("n", "<leader>a", "<cmd>AerialToggle!<CR>")
|
||||
vim.keymap.set("n", "<leader>ds", "<cmd>call aerial#fzf()<CR>")
|
||||
|
|
Loading…
Reference in New Issue