Merge branch 'neovim-0.5.0' of github.com:esensar/dotfiles into neovim-0.5.0

pull/1/head
Ensar Sarajčić 2021-04-09 07:25:42 +02:00
commit 3b12407683
3 changed files with 35 additions and 1 deletions

View File

@ -143,6 +143,7 @@ link_vim: check_os
@echo "Linking vim files..."
$(call link,vim,.vim)
$(call link,ideavimrc,.ideavimrc)
$(call link,vsvimrc,.vsvimrc)
.PHONY: link_apps_config
link_apps_config: check_os

View File

@ -146,7 +146,29 @@ local python_config = {
}
}
local dotnet_config = {}
local dotnet_config = {
["*"] = {
start = "dotnet run",
shell = "dotnet fsi"
},
["src/Controllers/*.cs"] = {
type = "controller"
},
["src/Models/*.cs"] = {
type = "model"
},
["src/Views/*.cshtml"] = {
type = "view"
},
["src/*.cs"] = {
type = "source",
alternate = "tests/{}Tests.cs"
},
["tests/*Tests.cs"] = {
type = "test",
alternate = "src/{}.cs"
}
}
local vim_plugin_config = {
["doc/*.txt"] = {

11
symlinks/vsvimrc 100644
View File

@ -0,0 +1,11 @@
source ~/.vim/vimrc
source ~/.vim/plugins.vim
nnoremap <C-p> :vsc MonoDevelop.Ide.Commands.SearchCommands.GotoFile <CR>
nnoremap gr :vsc MonoDevelop.Refactoring.RefactoryCommands.FindReferences <CR>
nnoremap K :vsc MonoDevelop.Ide.Commands.TextEditorCommands.ShowQuickInfo <CR>
nnoremap gD :vsc MonoDevelop.RefactoryCommands.NavigationCommands.FindBaseSymbols <CR>
nnoremap <C-w>o :vsc MonoDevelop.Ide.Commands.FileTabCommands.CloseAllButThis <CR>
nnoremap <C-o> :vsc MonoDevelop.Ide.Commands.NavigationCommands.NavigateBack <CR>
nnoremap <C-i> :vsc MonoDevelop.Ide.Commands.NavigationCommands.NavigateForward <CR>