From 34824fe03a00525c1b0f4fa9c3b9d35c32d46a10 Mon Sep 17 00:00:00 2001 From: Shun Git Date: Sat, 1 Jan 2022 16:42:13 +0800 Subject: [PATCH] cleanup unused stuff --- jupyter/README.md | 6 ----- jupyter/jupyter_notebook_config.py | 3 --- .../themes.jupyterlab-settings | 10 --------- .../commands.jupyterlab-settings | 14 ------------ tmux.conf | 2 -- tmux/ide.sh | 6 ----- tools/locations | 1 - vuerc | 22 ------------------- 8 files changed, 64 deletions(-) delete mode 100644 jupyter/README.md delete mode 100644 jupyter/jupyter_notebook_config.py delete mode 100644 jupyter/lab/user-settings/@jupyterlab/apputils-extension/themes.jupyterlab-settings delete mode 100644 jupyter/lab/user-settings/@jupyterlab/codemirror-extension/commands.jupyterlab-settings delete mode 100755 tmux/ide.sh delete mode 100644 vuerc diff --git a/jupyter/README.md b/jupyter/README.md deleted file mode 100644 index 302c3fb..0000000 --- a/jupyter/README.md +++ /dev/null @@ -1,6 +0,0 @@ -## Jupyter configuration - -Add the following to `.zshlocal` -```shell -export JUPYTER_CONFIG_DIR=$HOME/.dotfiles/jupyter -``` diff --git a/jupyter/jupyter_notebook_config.py b/jupyter/jupyter_notebook_config.py deleted file mode 100644 index e5dc06a..0000000 --- a/jupyter/jupyter_notebook_config.py +++ /dev/null @@ -1,3 +0,0 @@ -c.NotebookApp.ip = '0' -c.NotebookApp.port = 8888 -c.NotebookApp.open_browser = False diff --git a/jupyter/lab/user-settings/@jupyterlab/apputils-extension/themes.jupyterlab-settings b/jupyter/lab/user-settings/@jupyterlab/apputils-extension/themes.jupyterlab-settings deleted file mode 100644 index f105355..0000000 --- a/jupyter/lab/user-settings/@jupyterlab/apputils-extension/themes.jupyterlab-settings +++ /dev/null @@ -1,10 +0,0 @@ -{ - // Theme - // @jupyterlab/apputils-extension:themes - // Theme manager settings. - // ************************************* - - // Selected Theme - // [missing schema description] - "theme": "JupyterLab Dark" -} \ No newline at end of file diff --git a/jupyter/lab/user-settings/@jupyterlab/codemirror-extension/commands.jupyterlab-settings b/jupyter/lab/user-settings/@jupyterlab/codemirror-extension/commands.jupyterlab-settings deleted file mode 100644 index 1e91d26..0000000 --- a/jupyter/lab/user-settings/@jupyterlab/codemirror-extension/commands.jupyterlab-settings +++ /dev/null @@ -1,14 +0,0 @@ -{ - // CodeMirror - // @jupyterlab/codemirror-extension:commands - // Text editor settings for all CodeMirror editors. - // ************************************************ - - // Key Map - // [missing schema description] - "keyMap": "vim", - - // Theme - // [missing schema description] - "theme": "solarized dark" -} \ No newline at end of file diff --git a/tmux.conf b/tmux.conf index f3207d5..006c9f4 100644 --- a/tmux.conf +++ b/tmux.conf @@ -20,8 +20,6 @@ bind C-r source-file ~/.tmux.conf\; display 'tmux.conf reloaded' bind | split-window -h bind - split-window -v -bind i run '~/.dotfiles/tmux/ide.sh' - bind -r M-h resize-pane -L 5 bind -r M-j resize-pane -D 5 bind -r M-k resize-pane -U 5 diff --git a/tmux/ide.sh b/tmux/ide.sh deleted file mode 100755 index 255c219..0000000 --- a/tmux/ide.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -if [ "$(tmux display -p '#{window_panes}')" -eq 1 ]; then - tmux split-window -v -fi -tmux setw main-pane-height $(( $(tmux display -p '#{window_height}') * 3 / 4 )) -tmux select-layout main-horizontal diff --git a/tools/locations b/tools/locations index ce874d5..8432d3b 100644 --- a/tools/locations +++ b/tools/locations @@ -6,4 +6,3 @@ tmux.conf gitconfig gitignore nvmrc -vuerc diff --git a/vuerc b/vuerc deleted file mode 100644 index 6df1e38..0000000 --- a/vuerc +++ /dev/null @@ -1,22 +0,0 @@ -{ - "presets": { - "router+vuex": { - "useConfigFiles": true, - "plugins": { - "@vue/cli-plugin-eslint": { - "config": "standard", - "lintOn": [ - "save" - ] - } - }, - "router": true, - "routerHistoryMode": false, - "vuex": true - } - }, - "useTaobaoRegistry": false, - "latestVersion": "4.2.3", - "lastChecked": 1581841370183, - "packageManager": "npm" -} \ No newline at end of file