Git Product home page Git Product logo

dotfiles's Introduction

my dotfiles

introduction

sh install.sh
sh symlink.sh

tmux

  • tpm install
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm

nvim

  • neovim install
brew install neovim
pip install neovim
  • node install
brew install nodebrew
mkdir -p ~/.nodebrew/src
nodebrew install-binary stable
  • other
brew install tree-sitter
  • plugin can be refresh :call dein#update() or :call dein#recache_runtimepath().

zsh

brew install zsh
  • zplug install
curl -sL --proto-redir -all,https https://raw.githubusercontent.com/zplug/installer/master/installer.zsh | zsh

fish

brew install fish
curl -sL https://git.io/fisher | source && fisher install jorgebucaran/fisher
  • completion for fish
    • ex. poetry completions fish > ~/.config/fish/completions/poetry.fish

jupyter notebook

# Create required directory in case (optional)
mkdir -p $(jupyter --data-dir)/nbextensions

# Clone the repository
cd $(jupyter --data-dir)/nbextensions
git clone https://github.com/lambdalisue/jupyter-vim-binding vim_binding

# Activate the extension
jupyter nbextension enable vim_binding/vim_binding
  • jupyter-themes
pip install jupyterthemes
jt -t gruvboxd -vim -T -N -f meslo -nf latosans -nfs 10 -tfs 10
  • write to ~/.jupyter/custom/custom.js
// Configure CodeMirror Keymap
require([
  'nbextensions/vim_binding/vim_binding',   // depends your installation
], function() {
  // Map jj to <Esc>
  CodeMirror.Vim.map("jj", "<Esc>", "insert");
  // Swap j/k and gj/gk (Note that <Plug> mappings)
  CodeMirror.Vim.map("j", "<Plug>(vim-binding-gj)", "normal");
  CodeMirror.Vim.map("k", "<Plug>(vim-binding-gk)", "normal");
  CodeMirror.Vim.map("gj", "<Plug>(vim-binding-j)", "normal");
  CodeMirror.Vim.map("gk", "<Plug>(vim-binding-k)", "normal");
});

mac

chsh -s /usr/local/bin/fish

dotfiles's People

Contributors

m-hamashita avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar

dotfiles's Issues

Fix README

The current README file is outdated and does not accurately represent the actual state of the project. Specifically, dein.vim is no longer being used, and lazy.nvim is being utilized instead.

Show all contexts

early return

if [ ! -f $config ]
echo (set_color red)$KUBECTL_PROMPT_ICON" "(set_color white)"no config"
return
end
if [ (command -v kubectl) ]
set -g ctx (kubectl config current-context 2>/dev/null)
if [ $status -ne 0 ]
echo (set_color red)$KUBECTL_PROMPT_ICON" "(set_color white)"no context"
return
end

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.