Compare commits

..

No commits in common. "3c8fa4795e873f0449e53cc8cca4c864d7586df5" and "17e44a63387ff890f488a9a04cc8d63a52a05268" have entirely different histories.

4 changed files with 11 additions and 49 deletions

37
nvimrc
View File

@ -76,6 +76,7 @@ set dictionary=/usr/share/dict/words
set thesaurus=$HOME/Documents/thesaurus/thesaurus_pkg/thesaurus.txt set thesaurus=$HOME/Documents/thesaurus/thesaurus_pkg/thesaurus.txt
set shortmess+=I set shortmess+=I
set updatetime=250 set updatetime=250
set pastetoggle=<f2>
set pumheight=200 set pumheight=200
" Required for nvim-compe: " Required for nvim-compe:
set complete-=i set complete-=i
@ -293,9 +294,7 @@ packadd! fzf.vim " https://github.com/junegunn/fzf.vim.git
packadd! vim-surround " https://github.com/tpope/vim-surround.git packadd! vim-surround " https://github.com/tpope/vim-surround.git
packadd! vim-rhubarb " https://github.com/tpope/vim-rhubarb.git packadd! vim-rhubarb " https://github.com/tpope/vim-rhubarb.git
packadd! editorconfig-vim " https://github.com/editorconfig/editorconfig-vim.git packadd! editorconfig-vim " https://github.com/editorconfig/editorconfig-vim.git
packadd! vim-wordmotion " https://github.com/chaoren/vim-wordmotion.git
packadd! nvim-spider " https://github.com/chrisgrieser/nvim-spider.git
lua require "spider_config"
" projectionist " projectionist
packadd! vim-projectionist " https://github.com/tpope/vim-projectionist.git packadd! vim-projectionist " https://github.com/tpope/vim-projectionist.git
@ -303,35 +302,17 @@ packadd! vim-projectionist " https://github.com/tpope/vim-projectionist.git
let g:projectionist_heuristics = { let g:projectionist_heuristics = {
\ "*.go": { \ "*.go": {
\ "*_test.go": { \ "*_test.go": {
\ "type": "source", \ "type": "source",
\ "alternate": "{}.go", \ "alternate": "{}.go",
\ }, \ },
\ "*.go": { \ "*.go": {
\ "type": "source", \ "type": "source",
\ "alternate": "{}_test.go", \ "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 " aerial
packadd! aerial.nvim " https://github.com/stevearc/aerial.nvim.git packadd! aerial.nvim " https://github.com/stevearc/aerial.nvim.git

View File

@ -6,4 +6,5 @@ require("aerial").setup({
autojump = true, autojump = true,
nerd_font = "auto", nerd_font = "auto",
}) })
vim.keymap.set("n", "<leader>a", "<cmd>AerialToggle!<CR>")
vim.keymap.set("n", "<leader>ds", "<cmd>call aerial#fzf()<CR>") vim.keymap.set("n", "<leader>ds", "<cmd>call aerial#fzf()<CR>")

View File

@ -1,20 +0,0 @@
require('spider').setup({})
vim.keymap.set(
{ "n", "o", "x" },
"w",
"<cmd>lua require('spider').motion('w')<CR>",
{ desc = "Spider-w" }
)
vim.keymap.set(
{ "n", "o", "x" },
"e",
"<cmd>lua require('spider').motion('e')<CR>",
{ desc = "Spider-e" }
)
vim.keymap.set(
{ "n", "o", "x" },
"b",
"<cmd>lua require('spider').motion('b')<CR>",
{ desc = "Spider-b" }
)

2
zshenv
View File

@ -19,7 +19,7 @@ export LS_COLORS="di=1;38;2;38;139;210:mi=1;38;2;220;50;47;48;2;238;232;213:ln=1
export GOPATH=$HOME/go export GOPATH=$HOME/go
# BAT: # BAT:
export BAT_THEME=gruvbox-dark export BAT_THEME=gruxbox-dark
# Postgres default user: # Postgres default user:
export PGUSER=postgres export PGUSER=postgres