My vim settings.
setup.sh on *nix or setup.cmd on windows
- run PlugInstall
- You might have to enter folders like
vim-files
on windows and make sure that you have everything in order to install
My vim settings
vimrc
set nocompatible
language C
silent function! WINDOWS()
return (has('win16') || has('win32') || has('win64'))
endfunction
" On Windows, also use '.vim' instead of 'vimfiles'; this makes synchronization
" across (heterogeneous) systems easier.
if WINDOWS()
set runtimepath=$HOME/.vim,$VIM/vimfiles,$VIMRUNTIME
endif
if WINDOWS() " Keep swap files in one location
set directory=$HOME/.vim/tmp//
else
set directory=~/.vim/tmp//
endif
set showmode " Display the mode you're in.
set expandtab " Use spaces instead of tabs
if ! WINDOWS()
colorscheme vibrantink
endif
syntax on
set showcmd " Display incomplete commands.
set showmode " Display the mode you're in.
set backspace=indent,eol,start " Intuitive backspacing.
filetype plugin indent on
set ffs=unix,dos
set ff=unix " Line endings!
set expandtab
set shiftwidth=2
set softtabstop=2
set ts=2 " Tab size 2
if WINDOWS()
" let g:ruby_path = ':C:\tools\ruby213\bin'
let g:FindFileIgnore = ['*.o', '*.pyc', '*/tmp/*', '*.dll', '*.exe', '*.png']
endif
set relativenumber
" Line numbers
autocmd FocusLost * :set number
autocmd InsertEnter * :set number
autocmd InsertLeave * :set relativenumber
autocmd CursorMoved * :set relativenumber
if WINDOWS()
call plug#begin('~/vimfiles/plugged-coc')
else
call plug#begin('~/.vim/plugged-coc')
end
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
Plug 'editorconfig/editorconfig-vim'
Plug 'junegunn/fzf'
Plug 'ionide/Ionide-vim'
Plug 'vim-syntastic/syntastic'
call plug#end()
" Nerd tree:
map <F3> :NERDTreeToggle<CR>
map <F4> :FZF<CR>
coc-settings.json
{
"languageserver": {
"csharp": {
"command": "csharp-ls",
"rootPatterns": [
"*.sln",
"git"
],
"filetypes": ["cs", "csharp"]
},
"fsharp": {
"command": "fsautocomplete",
"args": ["--background-service-enabled"],
"filetypes": ["fsharp"],
"trace.server": "verbose",
"initalizationOptions": {
"AutomaticWorkspaceInit": true
},
"settings": {
"FSharp.keywordsAutocomplete": true,
"FSharp.ExternalAutocomplete": false,
"FSharp.Linter": true,
"FSharp.UnionCaseStubGeneration": true,
"FSharp.UnionCaseStubGenerationBody": "failwith \"Not Implemented\"",
"FSharp.RecordStubGeneration": true,
"FSharp.RecordStubGenerationBody": "failwith \"Not Implemented\"",
"FSharp.InterfaceStubGeneration": true,
"FSharp.InterfaceStubGenerationObjectIdentifier": "this",
"FSharp.InterfaceStubGenerationMethodBody": "failwith \"Not Implemented\"",
"FSharp.UnusedOpensAnalyzer": true,
"FSharp.UnusedDeclarationsAnalyzer": true,
"FSharp.UseSdkScripts": true,
"FSharp.SimplifyNameAnalyzer": false,
"FSharp.ResolveNamespaces": true,
"FSharp.EnableReferenceCodeLens": true
}
}
}
}
Instead of submodules
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.