formatted init.lua
This commit is contained in:
parent
278f2b2261
commit
56b6f49a40
1 changed files with 42 additions and 37 deletions
|
@ -69,7 +69,8 @@ require('lazy').setup({
|
||||||
}
|
}
|
||||||
end,
|
end,
|
||||||
-- build process(make environments and add JET.jl)
|
-- build process(make environments and add JET.jl)
|
||||||
build = [[mkdir -p ~/.julia/environments/nvim-null-ls && julia --startup-file=no --project=~/.julia/environments/nvim-null-ls -e 'using Pkg; Pkg.add("JET")']],
|
build =
|
||||||
|
[[mkdir -p ~/.julia/environments/nvim-null-ls && julia --startup-file=no --project=~/.julia/environments/nvim-null-ls -e 'using Pkg; Pkg.add("JET")']],
|
||||||
-- ft = { 'julia', },
|
-- ft = { 'julia', },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -180,10 +181,13 @@ vim.cmd.colorscheme "catppuccin"
|
||||||
|
|
||||||
-----------------------------------------------------------
|
-----------------------------------------------------------
|
||||||
-- some terminalmode settings
|
-- some terminalmode settings
|
||||||
vim.keymap.set('t', '<C-w>h', '<C-\\><C-N><C-w>h', { noremap = true, desc = "Exit terminal-mode and move to left window."})
|
vim.keymap.set('t', '<C-w>h', '<C-\\><C-N><C-w>h',
|
||||||
vim.keymap.set('t', '<C-w>j', '<C-\\><C-N><C-w>j', { noremap = true, desc = "Exit terminal-mode and move to down window."})
|
{ noremap = true, desc = "Exit terminal-mode and move to left window." })
|
||||||
|
vim.keymap.set('t', '<C-w>j', '<C-\\><C-N><C-w>j',
|
||||||
|
{ noremap = true, desc = "Exit terminal-mode and move to down window." })
|
||||||
vim.keymap.set('t', '<C-w>k', '<C-\\><C-N><C-w>k', { noremap = true, desc = "Exit terminal-mode and move to up window." })
|
vim.keymap.set('t', '<C-w>k', '<C-\\><C-N><C-w>k', { noremap = true, desc = "Exit terminal-mode and move to up window." })
|
||||||
vim.keymap.set('t', '<C-w>l', '<C-\\><C-N><C-w>l', { noremap = true, desc = "Exit terminal-mode and move to right window."})
|
vim.keymap.set('t', '<C-w>l', '<C-\\><C-N><C-w>l',
|
||||||
|
{ noremap = true, desc = "Exit terminal-mode and move to right window." })
|
||||||
|
|
||||||
-----------------------------------------------------------
|
-----------------------------------------------------------
|
||||||
-- to use PowerShell on Windows
|
-- to use PowerShell on Windows
|
||||||
|
@ -196,7 +200,8 @@ if vim.fn.has('win32') == 1 then
|
||||||
else
|
else
|
||||||
vim.opt.shell = 'powershell'
|
vim.opt.shell = 'powershell'
|
||||||
end
|
end
|
||||||
vim.opt.shellcmdflag = '-NoLogo -NoProfile -ExecutionPolicy RemoteSigned -Command [Console]::InputEncoding=[Console]::OutputEncoding=[System.Text.Encoding]::UTF8;'
|
vim.opt.shellcmdflag =
|
||||||
|
'-NoLogo -NoProfile -ExecutionPolicy RemoteSigned -Command [Console]::InputEncoding=[Console]::OutputEncoding=[System.Text.Encoding]::UTF8;'
|
||||||
vim.opt.shellredir = '-RedirectStandardOutput %s -NoNewWindow -Wait'
|
vim.opt.shellredir = '-RedirectStandardOutput %s -NoNewWindow -Wait'
|
||||||
vim.opt.shellpipe = '2>&1 | Out-File -Encoding UTF8 %s; exit $LastExitCode'
|
vim.opt.shellpipe = '2>&1 | Out-File -Encoding UTF8 %s; exit $LastExitCode'
|
||||||
vim.opt.shellquote = ''
|
vim.opt.shellquote = ''
|
||||||
|
|
Loading…
Reference in a new issue