Merge branch 'neovim-0.5.0' of github.com:esensar/dotfiles into neovim-0.5.0
commit
3b12407683
1
Makefile
1
Makefile
|
@ -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
|
||||
|
|
|
@ -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"] = {
|
||||
|
|
|
@ -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>
|
Loading…
Reference in New Issue