This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import sys | |
if not os.path.exists('debug.log'): | |
with open('debug.log', 'w') as sys.stdout: | |
print('**** print debug') | |
else: | |
with open('debug.log', 'a') as sys.stdout: | |
print('**** pring debug') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Propmt | |
oh-my-posh --init --shell pwsh --config '%LOCALAPPDATA%\Programs\oh-my-posh\themes\robbyrussell.omp.json' | Invoke-Expression | |
# Icons | |
# Import-Module -Name Terminal-Icons | |
# PSReadLine | |
# Set-PSReadLineOption -EditMode Emacs | |
# Set-PSReadLineOption -BellStyle None | |
# Set-PSReadLineKeyHandler -Chord 'Ctrl+d' -Function DeleteChar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- local require = require("lvim.utils.require").require | |
local core_plugins = { | |
{ "folke/lazy.nvim", tag = "stable" }, | |
{ | |
"neovim/nvim-lspconfig", | |
lazy = true, | |
dependencies = { "mason-lspconfig.nvim", "nlsp-settings.nvim" }, | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Read the docs: https://www.lunarvim.org/docs/configuration | |
-- Video Tutorials: https://www.youtube.com/watch?v=sFA9kX-Ud_c&list=PLhoH5vyxr6QqGu0i7tt_XoVK9v-KvZ3m6 | |
-- Forum: https://www.reddit.com/r/lunarvim/ | |
-- Discord: https://discord.com/invite/Xb9B4Ny | |
-- Formatting | |
-- lvim.format_on_save.enabled = true | |
-- lvim.format_on_save.pattern = { "*.lua", "*.py", "*.cpp", "*.rs" } | |
-- lvim.transparent_window = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Tokyo Night color scheme for kitty terminal emulator | |
# https://github.com/davidmathers/tokyo-night-kitty-theme | |
# | |
# Based on Tokyo Night color theme for Visual Studio Code | |
# https://github.com/enkia/tokyo-night-vscode-theme | |
foreground #a9b1d6 | |
background #24283b | |
# Black |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
font_family CaskaydiaCove Nerd Font Mono | |
bold_font auto | |
italic_font auto | |
bold_italic_font auto | |
font_size 16.0 | |
window_padding_width 4 | |
include theme.conf | |
background_opacity 0.95 | |
background_blur 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unbind r | |
bind r source-file ~/.tmux.conf | |
set -g default-terminal "tmux-256color" | |
set -ag terminal-overrides ",xterm-256color:RGB" | |
set -g prefix C-s | |
set -g mouse on |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" | |
" ██╗ ██╗██╗███╗ ███╗██████╗ ██████╗ | |
" ██║ ██║██║████╗ ████║██╔══██╗██╔════╝ | |
" ██║ ██║██║██╔████╔██║██████╔╝██║ | |
" ╚██╗ ██╔╝██║██║╚██╔╝██║██╔══██╗██║ | |
" ╚████╔╝ ██║██║ ╚═╝ ██║██║ ██║╚██████╗ | |
" ╚═══╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ | |
" | |
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"git.autorefresh": true, | |
"files.autoSave": "afterDelay", | |
"files.exclude": { | |
"**/node_modules": true | |
}, | |
"window.menuBarVisibility": "toggle", | |
"editor.fontSize": 12, | |
"editor.scrollbar.vertical": "hidden", | |
"editor.scrollbar.verticalScrollbarSize": 0, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Place your key bindings in this file to override the defaultsauto[] | |
[ | |
{ | |
"key": "ctrl+tab", | |
"command": "workbench.action.nextEditor" | |
}, | |
{ | |
"key": "ctrl+shift+tab", | |
"command": "workbench.action.previousEditor" | |
}, |
NewerOlder