Compare commits
No commits in common. "628475c24224355a2bbd84fee9bc3ff514570789" and "7603f0de8eae22908cfbe141934b28f4c2478b80" have entirely different histories.
628475c242
...
7603f0de8e
@ -11,10 +11,10 @@ endif
|
|||||||
|
|
||||||
highlight Title gui=bold
|
highlight Title gui=bold
|
||||||
highlight Special gui=bold
|
highlight Special gui=bold
|
||||||
highlight SpellBad guibg=Normal guifg=Normal gui=undercurl guisp=red ctermfg=NONE ctermbg=NONE term=underline cterm=undercurl
|
highlight SpellBad guibg=Normal guifg=Normal gui=undercurl guisp=red
|
||||||
highlight SpellCap guibg=Normal guifg=Normal gui=undercurl guisp=blue ctermfg=NONE ctermbg=NONE term=underline cterm=undercurl
|
highlight SpellCap guibg=Normal guifg=Normal gui=undercurl guisp=blue
|
||||||
highlight SpellLocal guibg=Normal guifg=Normal gui=undercurl guisp=pink ctermfg=NONE ctermbg=NONE term=underline cterm=undercurl
|
highlight SpellLocal guibg=Normal guifg=Normal gui=undercurl guisp=pink
|
||||||
highlight SpellRare guibg=Normal guifg=Normal gui=undercurl guisp=aqua ctermfg=NONE ctermbg=NONE term=underline cterm=undercurl
|
highlight SpellRare guibg=Normal guifg=Normal gui=undercurl guisp=aqua
|
||||||
highlight Keyword gui=bold
|
highlight Keyword gui=bold
|
||||||
highlight Comment gui=italic
|
highlight Comment gui=italic
|
||||||
highlight Constant guifg=#999999
|
highlight Constant guifg=#999999
|
||||||
|
@ -4,14 +4,19 @@ source ~/.vimrc
|
|||||||
|
|
||||||
call plug#begin()
|
call plug#begin()
|
||||||
" Plug 'ellisonleao/gruvbox.nvim'
|
" Plug 'ellisonleao/gruvbox.nvim'
|
||||||
Plug 'folke/tokyonight.nvim'
|
" Plug 'folke/tokyonight.nvim'
|
||||||
" Plug 'nvim-lua/plenary.nvim'
|
" Plug 'nvim-lua/plenary.nvim'
|
||||||
" Plug 'nvim-tree/nvim-web-devicons'
|
" Plug 'nvim-tree/nvim-web-devicons'
|
||||||
" Plug 'MunifTanjim/nui.nvim'
|
" Plug 'MunifTanjim/nui.nvim'
|
||||||
" Plug 'nvim-neo-tree/neo-tree.nvim', { 'branch': 'v3.x' }
|
" Plug 'nvim-neo-tree/neo-tree.nvim', { 'branch': 'v3.x' }
|
||||||
Plug 'lewis6991/gitsigns.nvim' " OPTIONAL: for git status
|
Plug 'lewis6991/gitsigns.nvim' " OPTIONAL: for git status
|
||||||
" Plug 'nvim-tree/nvim-web-devicons' " OPTIONAL: for file icons
|
" Plug 'nvim-tree/nvim-web-devicons' " OPTIONAL: for file icons
|
||||||
|
" Plug 'freddiehaddad/feline.nvim'
|
||||||
" Plug 'neovim/nvim-lspconfig'
|
" Plug 'neovim/nvim-lspconfig'
|
||||||
|
" main one
|
||||||
|
" Plug 'ms-jpq/coq_nvim', {'branch': 'coq'}
|
||||||
|
" 9000+ Snippets
|
||||||
|
" Plug 'ms-jpq/coq.artifacts', {'branch': 'artifacts'}
|
||||||
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
|
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
|
||||||
Plug 'xiyaowong/transparent.nvim'
|
Plug 'xiyaowong/transparent.nvim'
|
||||||
" Plug 'justinhj/battery.nvim'
|
" Plug 'justinhj/battery.nvim'
|
||||||
@ -25,7 +30,6 @@ if exists("g:neovide")
|
|||||||
set guifont=JetBrains_Mono:h13:cANSI:qDRAFT
|
set guifont=JetBrains_Mono:h13:cANSI:qDRAFT
|
||||||
endif
|
endif
|
||||||
|
|
||||||
set termguicolors
|
|
||||||
colo gruv
|
colo gruv
|
||||||
set noshowmode
|
set noshowmode
|
||||||
set laststatus=2
|
set laststatus=2
|
||||||
|
@ -25,8 +25,8 @@ vim.diagnostic.config({
|
|||||||
})
|
})
|
||||||
--vim.api.nvim_set_hl(0,"DiagnosticUnderlineWarn",{undercurl=true,sp='DiagnosticWarn'})
|
--vim.api.nvim_set_hl(0,"DiagnosticUnderlineWarn",{undercurl=true,sp='DiagnosticWarn'})
|
||||||
--For Alacritty:
|
--For Alacritty:
|
||||||
-- vim.api.nvim_create_autocmd("ExitPre", {
|
vim.api.nvim_create_autocmd("ExitPre", {
|
||||||
-- group = vim.api.nvim_create_augroup("Exit", { clear = true }),
|
group = vim.api.nvim_create_augroup("Exit", { clear = true }),
|
||||||
-- command = "set guicursor=a:ver90-blinkwait250-blinkoff250-blinkon250",
|
command = "set guicursor=a:ver90-blinkwait250-blinkoff250-blinkon250",
|
||||||
-- desc = "Set cursor back to beam when leaving Neovim."
|
desc = "Set cursor back to beam when leaving Neovim."
|
||||||
-- })
|
})
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
vim.lsp.config.matlab_ls =
|
local util = require("lspconfig.util")
|
||||||
|
require('lspconfig').matlab_ls.setup(
|
||||||
{
|
{
|
||||||
cmd = { "node", os.getenv("HOME") .. "/MATLAB-language-server/out/index.js", "--stdio" },
|
cmd = { "node", os.getenv("HOME") .. "/MATLAB-language-server/out/index.js", "--stdio" },
|
||||||
root_markers = { 'mw_anchor' },
|
root_dir = util.root_pattern('mw_anchor'),
|
||||||
filetypes = { 'matlab' },
|
|
||||||
single_file_support = true,
|
single_file_support = true,
|
||||||
settings = {
|
settings = {
|
||||||
MATLAB = {
|
MATLAB = {
|
||||||
@ -13,5 +13,4 @@ vim.lsp.config.matlab_ls =
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
)
|
||||||
vim.lsp.enable({'matlab_ls'})
|
|
||||||
|
@ -2,7 +2,6 @@ local builtin = require("statuscol.builtin")
|
|||||||
require('statuscol').setup({
|
require('statuscol').setup({
|
||||||
relculright = true,
|
relculright = true,
|
||||||
ft_ignore = { 'neo-tree' },
|
ft_ignore = { 'neo-tree' },
|
||||||
bt_ignore = { 'terminal' },
|
|
||||||
segments = {
|
segments = {
|
||||||
{
|
{
|
||||||
sign = { namespace={'diag*'} },
|
sign = { namespace={'diag*'} },
|
||||||
|
26
vim/.vimrc
26
vim/.vimrc
@ -6,7 +6,7 @@ syntax on
|
|||||||
set cursorline
|
set cursorline
|
||||||
set cursorcolumn
|
set cursorcolumn
|
||||||
set nospell
|
set nospell
|
||||||
"set autochdir
|
set autochdir
|
||||||
|
|
||||||
" disable wrapping
|
" disable wrapping
|
||||||
set nowrap
|
set nowrap
|
||||||
@ -16,9 +16,9 @@ set number
|
|||||||
set relativenumber
|
set relativenumber
|
||||||
|
|
||||||
" colours
|
" colours
|
||||||
"set termguicolors
|
set termguicolors
|
||||||
set bg=dark
|
set bg=dark
|
||||||
colo default
|
colo quiet
|
||||||
|
|
||||||
""" MARKDOWN
|
""" MARKDOWN
|
||||||
" have j and k navigate visual lines rather than logical ones
|
" have j and k navigate visual lines rather than logical ones
|
||||||
@ -33,15 +33,6 @@ autocmd FileType markdown
|
|||||||
\setlocal spell|
|
\setlocal spell|
|
||||||
\setlocal spelllang=en_gb|
|
\setlocal spelllang=en_gb|
|
||||||
|
|
||||||
autocmd FileType typst
|
|
||||||
\nmap <buffer> j gj|
|
|
||||||
\nmap <buffer> k gk|
|
|
||||||
\setlocal wrap|
|
|
||||||
\setlocal linebreak|
|
|
||||||
\setlocal nolist|
|
|
||||||
\setlocal spell|
|
|
||||||
\setlocal spelllang=en_gb|
|
|
||||||
|
|
||||||
" use H and L for beginning/end of line
|
" use H and L for beginning/end of line
|
||||||
map H ^
|
map H ^
|
||||||
map L $
|
map L $
|
||||||
@ -50,14 +41,3 @@ set mouse=nv
|
|||||||
|
|
||||||
set shiftwidth=4
|
set shiftwidth=4
|
||||||
set tabstop=4
|
set tabstop=4
|
||||||
|
|
||||||
command! Q :q
|
|
||||||
command! W :w
|
|
||||||
command! Qa :qa
|
|
||||||
command! Wq :wq
|
|
||||||
|
|
||||||
noremap <C-C> "+y
|
|
||||||
" noremap <C-V> "+p
|
|
||||||
cnoremap <C-V> <C-r>+
|
|
||||||
imap <C-V> <C-r>+
|
|
||||||
inoremap jj <ESC>
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user