Compare commits
2 commits
0aeec22553
...
8ce25925be
Author | SHA1 | Date | |
---|---|---|---|
8ce25925be | |||
6553a9bd81 |
6 changed files with 55 additions and 13 deletions
|
@ -27,6 +27,8 @@ include monokai.conf
|
||||||
|
|
||||||
allow_remote_control yes
|
allow_remote_control yes
|
||||||
wayland_titlebar_color system
|
wayland_titlebar_color system
|
||||||
map kitty_mod+k clear_terminal reset active
|
map kitty_mod+k clear_terminal reset active
|
||||||
map kitty_mod+F5 launch --location=hsplit --cwd=current
|
map kitty_mod+F5 launch --location=hsplit --cwd=current
|
||||||
map kitty_mod+F6 launch --location=vsplit --cwd=current
|
map kitty_mod+F6 launch --location=vsplit --cwd=current
|
||||||
|
map ctrl+insert copy_to_clipboard
|
||||||
|
map shift+insert paste_from_clipboard
|
||||||
|
|
|
@ -11,9 +11,9 @@ vim.g.maplocalleader = " "
|
||||||
vim.cmd([[packadd packer.nvim]])
|
vim.cmd([[packadd packer.nvim]])
|
||||||
|
|
||||||
require("options")
|
require("options")
|
||||||
|
require("plugins")
|
||||||
require("keymaps")
|
require("keymaps")
|
||||||
require("autocommands")
|
require("autocommands")
|
||||||
require("plugins")
|
|
||||||
require("lsp")
|
require("lsp")
|
||||||
require("dap")
|
require("dap")
|
||||||
|
|
||||||
|
|
|
@ -67,14 +67,13 @@ vim.api.nvim_create_autocmd("BufWinEnter", {
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
local treeapi = require("nvim-tree.api")
|
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd("BufEnter", {
|
vim.api.nvim_create_autocmd("BufEnter", {
|
||||||
callback = function()
|
callback = function()
|
||||||
if vim.bo.filetype == "NvimTree" or vim.fn.expand("%") == "" then
|
if vim.bo.filetype == "NvimTree" or vim.fn.expand("%") == "" then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
vim.schedule(function()
|
vim.schedule(function()
|
||||||
|
local treeapi = require("nvim-tree.api")
|
||||||
treeapi.tree.find_file({
|
treeapi.tree.find_file({
|
||||||
update_root = false,
|
update_root = false,
|
||||||
focus = false,
|
focus = false,
|
||||||
|
|
|
@ -6,7 +6,6 @@ conform.setup({
|
||||||
typescript = { "prettier" },
|
typescript = { "prettier" },
|
||||||
javascriptreact = { "prettier" },
|
javascriptreact = { "prettier" },
|
||||||
typescriptreact = { "prettier" },
|
typescriptreact = { "prettier" },
|
||||||
svelte = { "prettier" },
|
|
||||||
css = { "prettier" },
|
css = { "prettier" },
|
||||||
html = { "prettier" },
|
html = { "prettier" },
|
||||||
json = { "prettier" },
|
json = { "prettier" },
|
||||||
|
|
|
@ -1,5 +1,47 @@
|
||||||
require('nvim-treesitter.configs').setup{
|
require("nvim-treesitter.configs").setup({
|
||||||
ensure_installed = 'all',
|
highlight = { enable = true },
|
||||||
ignore_install = { 'phpdoc' },
|
ensure_installed = {
|
||||||
highlight = { enable = true }
|
"c",
|
||||||
}
|
"lua",
|
||||||
|
"python",
|
||||||
|
"bash",
|
||||||
|
"go",
|
||||||
|
"html",
|
||||||
|
"css",
|
||||||
|
"javascript",
|
||||||
|
"typescript",
|
||||||
|
"git_config",
|
||||||
|
"git_rebase",
|
||||||
|
"gitattributes",
|
||||||
|
"gitcommit",
|
||||||
|
"gitignore",
|
||||||
|
"gomod",
|
||||||
|
"gosum",
|
||||||
|
"gotmpl",
|
||||||
|
"gowork",
|
||||||
|
"hjson",
|
||||||
|
"ini",
|
||||||
|
"json",
|
||||||
|
"json5",
|
||||||
|
"jsonnet",
|
||||||
|
"latex",
|
||||||
|
"make",
|
||||||
|
"markdown",
|
||||||
|
"markdown_inline",
|
||||||
|
"nginx",
|
||||||
|
"proto",
|
||||||
|
"rust",
|
||||||
|
"templ",
|
||||||
|
"todotxt",
|
||||||
|
"toml",
|
||||||
|
"tsx",
|
||||||
|
"typescript",
|
||||||
|
"vim",
|
||||||
|
"vimdoc",
|
||||||
|
"xml",
|
||||||
|
"yaml",
|
||||||
|
"sql",
|
||||||
|
"ssh_config",
|
||||||
|
},
|
||||||
|
ignore_install = { "gdhsader", "phpdoc" },
|
||||||
|
})
|
||||||
|
|
|
@ -24,7 +24,7 @@ antigen apply
|
||||||
# Exports
|
# Exports
|
||||||
|
|
||||||
#export GOPROXY=https://proxy.neonxp.ru
|
#export GOPROXY=https://proxy.neonxp.ru
|
||||||
export GOPRIVATE=devopar.hippoparking.ru
|
export GOPRIVATE=devopar.hippoparking.ru,gitlab.sovcombank.group
|
||||||
export EDITOR="nvim"
|
export EDITOR="nvim"
|
||||||
#export DOCKER_HOST=unix://$XDG_RUNTIME_DIR/docker.sock
|
#export DOCKER_HOST=unix://$XDG_RUNTIME_DIR/docker.sock
|
||||||
export ANDROID_HOME=$HOME/projects/android/
|
export ANDROID_HOME=$HOME/projects/android/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue