Skip to content

Instantly share code, notes, and snippets.

View sachinumrao's full-sized avatar
🏠
Learn -> Code -> Repeat

Sachin Umrao sachinumrao

🏠
Learn -> Code -> Repeat
View GitHub Profile
@sachinumrao
sachinumrao / gist:1305fe0a6039e5338fa42afeccc4da3a
Created July 13, 2025 08:28
Better Jupyter Notebook in VS Code
{
// jupyter notebook specific settings
"notebook.cellToolbarLocation": {
"default": "hidden"
},
"notebook.insertToolbarLocation": "hidden",
"notebook.showCellStatusBar": "hidden",
"notebook.compactView": true,
// "notebook.insertToolbarLocation": "notebookToolbar",
"notebook.output.lineHeight": 14,
@sachinumrao
sachinumrao / config.toml
Created January 14, 2025 08:44
config file for helix
theme = "zed_onedark" # github_dark, jetbrains_dark
[editor]
cursorline = true
bufferline = "multiple"
mouse = true
color-modes = true
auto-save = true
[editor.cursor-shape]
@sachinumrao
sachinumrao / languages.toml
Created January 14, 2025 08:43
language settings in helix
[[language]]
name = "python"
scope = "source.python"
injection-regex = "python"
file-types = ["py","pyi","py3","pyw",".pythonstartup",".pythonrc"]
shebangs = ["python"]
roots = [".", "pyproject.toml", "pyrightconfig.json"]
comment-token = "#"
language-servers = ["pyright", "ruff"]
indent = { tab-width = 4, unit = " " }
// Zed settings
//
// For information on how to configure Zed, see the Zed
// documentation: https://zed.dev/docs/configuring-zed
//
// To see all of Zed's default settings without changing your
// custom settings, run the `zed: Open Default Settings` command
// from the command palette
{
"assistant": {
{
"python.defaultInterpreterPath": "~/miniconda3/envs/rl/bin/python",
"terminal.integrated.fontSize": 15,
"terminal.integrated.lineHeight": 1.15,
"python.jediEnabled": false,
"terminal.integrated.fontFamily": "Menlo for Powerline",
"python.autoUpdateLanguageServer": false,
"python.languageServer": "Pylance",
"editor.formatOnType": true,
"editor.minimap.enabled": false,
{
"font_face": "JetBrains Mono",
"font_size": 16,
"rulers": [119],
"translate_tabs_to_spaces": true,
"indent_to_bracket": true,
"highlight_line": true,
"auto_complete": true,
"font_options": [
"no_italic",
@sachinumrao
sachinumrao / init.lua
Last active December 22, 2022 20:55
nvim/init.lua
-- Install packer
local install_path = vim.fn.stdpath 'data' .. '/site/pack/packer/start/packer.nvim'
local is_bootstrap = false
if vim.fn.empty(vim.fn.glob(install_path)) > 0 then
is_bootstrap = true
vim.fn.system { 'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path }
vim.cmd [[packadd packer.nvim]]
end
require('packer').startup(function(use)
set encoding=utf-8
set number
syntax enable
set scrolloff=5
set backspace=indent,eol,start
set tabstop=4
set softtabstop=4
set shiftwidth=4
set expandtab
brew upgrade
brew install node