Compare commits

..

3 Commits

5 changed files with 10 additions and 21 deletions

View File

@ -49,8 +49,5 @@ keymap("n", "<S-h>", ":tabprevious<CR>", opts)
-- Copy to clipboard -- Copy to clipboard
keymap("v", "<C-c>", "\"+y", opts) keymap("v", "<C-c>", "\"+y", opts)
-- Copy relative path of current ile to clipboard
keymap("n", "<C-y>", ":let @+ = expand(\"%\")<CR>", opts)
--Close buffer --Close buffer
-- keymap("n", "<C-w>", ":bd | bp <CR>", opts) -- keymap("n", "<C-w>", ":bd | bp <CR>", opts)

View File

@ -1,18 +1,11 @@
return { return {
{ {
"L3MON4D3/LuaSnip", "L3MON4D3/LuaSnip",
lazy = false, event = "VeryLazy",
opts = { config = true,
region_check_events = "CursorHold,InsertLeave,InsertEnter",
-- those are for removing deleted snippets, also a common problem
delete_check_events = "TextChanged,InsertEnter",
},
config = function(_, opts)
local luasnip = require("luasnip")
luasnip.setup(opts)
end,
dependencies = { dependencies = {
"rafamadriz/friendly-snippets", "rafamadriz/friendly-snippets",
-- "dsznajder/vscode-es7-javascript-react-snippets",
} }
} }
} }

View File

@ -2,8 +2,8 @@ function FindProxyForURL(url, host) {
// Proxy server (customize this line) // Proxy server (customize this line)
var proxy = "PROXY 91.199.147.158:3128"; var proxy = "PROXY 91.199.147.158:3128";
// Domains related to ChatGPT/OpenAI
var proxy_domains = [ var proxy_domains = [
// Domains related to ChatGPT/OpenAI
"chatgpt.com", "chatgpt.com",
"chat.openai.com", "chat.openai.com",
"openai.com", "openai.com",
@ -11,7 +11,6 @@ function FindProxyForURL(url, host) {
"platform.openai.com", "platform.openai.com",
"auth0.openai.com", "auth0.openai.com",
// Youtube related domains
"*.youtube.com", "*.youtube.com",
"youtube.com", "youtube.com",
"*.googlevideo.com", "*.googlevideo.com",

View File

@ -3,14 +3,15 @@ export PATH=~/.local/bin:~/.cargo/bin:$PATH
export EDITOR=nvim export EDITOR=nvim
export SUDO_EDITOR=/usr/bin/nvim export SUDO_EDITOR=/usr/bin/nvim
export XDG_CURRENT_DESKTOP=Sway export XDG_CURRENT_DESKTOP=Sway
export XDG_SESSION_DESKTOP=sway
export XDG_SESSION_TYPE=wayland
export HOMEBREW_NO_AUTO_UPDATE=true export HOMEBREW_NO_AUTO_UPDATE=true
export ELECTRON_OZONE_PLATFORM_HINT=auto export ELECTRON_OZONE_PLATFORM_HINT=auto
# Created by `pipx` on 2024-10-08 14:33:09
export PATH="$PATH:/Users/nikitabykov/.local/bin"
if command -v dbus-update-activation-environment >/dev/null; then # >>> coursier install directory >>>
dbus-update-activation-environment XDG_CURRENT_DESKTOP XDG_SESSION_DESKTOP XDG_SESSION_TYPE export PATH="$PATH:/Users/nikitabykov/Library/Application Support/Coursier/bin"
fi # <<< coursier install directory <<<
eval "$(/opt/homebrew/bin/brew shellenv)"
if [[ -z $DISPLAY && $TTY = /dev/tty1 ]]; then if [[ -z $DISPLAY && $TTY = /dev/tty1 ]]; then
exec sway exec sway

1
.zshrc
View File

@ -31,7 +31,6 @@ alias toggle_vpn='sudo toggle_vpn'
alias rr='ranger' alias rr='ranger'
# naviagtion aliases # naviagtion aliases
alias masters='cd /home/nikita/Documents/woopvault/University/masters/indicators_monitoring'
alias dots='cd ~/dotfiles' alias dots='cd ~/dotfiles'
alias notes='cd ~/Documents/woopvault/' alias notes='cd ~/Documents/woopvault/'
alias work='cd ~/Code/maxim/' alias work='cd ~/Code/maxim/'