From: EdTheDev Date: Sat, 9 Mar 2024 21:06:23 +0000 (-0600) Subject: Messing with quick keys and zen mode X-Git-Url: https://apps.delaporte.us/gitweb/dotfiles.git/commitdiff_plain/c82c792785d173c9c492e54518ae26a4d387f846 Messing with quick keys and zen mode --- diff --git a/data/issues.ipynb b/data/issues.ipynb index 08d596b..d718bbf 100644 --- a/data/issues.ipynb +++ b/data/issues.ipynb @@ -4,7 +4,18 @@ "cell_type": "code", "execution_count": null, "metadata": {}, - "outputs": [], + "outputs": [ + { + "ename": "", + "evalue": "", + "output_type": "error", + "traceback": [ + "\u001b[1;31mRunning cells with '/bin/python3' requires the ipykernel package.\n", + "\u001b[1;31mRun the following command to install 'ipykernel' into the Python environment. \n", + "\u001b[1;31mCommand: '/bin/python3 -m pip install ipykernel -U --user --force-reinstall'" + ] + } + ], "source": [ "import platform\n", "import matplotlib.pyplot as plt\n", @@ -31,7 +42,18 @@ "cell_type": "code", "execution_count": null, "metadata": {}, - "outputs": [], + "outputs": [ + { + "ename": "", + "evalue": "", + "output_type": "error", + "traceback": [ + "\u001b[1;31mRunning cells with '/bin/python3' requires the ipykernel package.\n", + "\u001b[1;31mRun the following command to install 'ipykernel' into the Python environment. \n", + "\u001b[1;31mCommand: '/bin/python3 -m pip install ipykernel -U --user --force-reinstall'" + ] + } + ], "source": [ "# Get ye data\n", "import glob\n", @@ -48,7 +70,18 @@ "cell_type": "code", "execution_count": null, "metadata": {}, - "outputs": [], + "outputs": [ + { + "ename": "", + "evalue": "", + "output_type": "error", + "traceback": [ + "\u001b[1;31mRunning cells with '/bin/python3' requires the ipykernel package.\n", + "\u001b[1;31mRun the following command to install 'ipykernel' into the Python environment. \n", + "\u001b[1;31mCommand: '/bin/python3 -m pip install ipykernel -U --user --force-reinstall'" + ] + } + ], "source": [ "import pandas as pd\n", "\n", @@ -66,7 +99,18 @@ "cell_type": "code", "execution_count": null, "metadata": {}, - "outputs": [], + "outputs": [ + { + "ename": "", + "evalue": "", + "output_type": "error", + "traceback": [ + "\u001b[1;31mRunning cells with '/bin/python3' requires the ipykernel package.\n", + "\u001b[1;31mRun the following command to install 'ipykernel' into the Python environment. \n", + "\u001b[1;31mCommand: '/bin/python3 -m pip install ipykernel -U --user --force-reinstall'" + ] + } + ], "source": [ "import numpy as np\n", "df['count'] = np.zeros(len(df))\n", @@ -84,7 +128,18 @@ "cell_type": "code", "execution_count": null, "metadata": {}, - "outputs": [], + "outputs": [ + { + "ename": "", + "evalue": "", + "output_type": "error", + "traceback": [ + "\u001b[1;31mRunning cells with '/bin/python3' requires the ipykernel package.\n", + "\u001b[1;31mRun the following command to install 'ipykernel' into the Python environment. \n", + "\u001b[1;31mCommand: '/bin/python3 -m pip install ipykernel -U --user --force-reinstall'" + ] + } + ], "source": [ "\n", "dfp = df\n", @@ -96,7 +151,18 @@ "cell_type": "code", "execution_count": null, "metadata": {}, - "outputs": [], + "outputs": [ + { + "ename": "", + "evalue": "", + "output_type": "error", + "traceback": [ + "\u001b[1;31mRunning cells with '/bin/python3' requires the ipykernel package.\n", + "\u001b[1;31mRun the following command to install 'ipykernel' into the Python environment. \n", + "\u001b[1;31mCommand: '/bin/python3 -m pip install ipykernel -U --user --force-reinstall'" + ] + } + ], "source": [ "closed_dates = pd.to_datetime(df['closedAt'], format='ISO8601')\n", "dfp['year'] = closed_dates.dt.year\n", @@ -109,7 +175,18 @@ "cell_type": "code", "execution_count": null, "metadata": {}, - "outputs": [], + "outputs": [ + { + "ename": "", + "evalue": "", + "output_type": "error", + "traceback": [ + "\u001b[1;31mRunning cells with '/bin/python3' requires the ipykernel package.\n", + "\u001b[1;31mRun the following command to install 'ipykernel' into the Python environment. \n", + "\u001b[1;31mCommand: '/bin/python3 -m pip install ipykernel -U --user --force-reinstall'" + ] + } + ], "source": [ "\n", "mile_counts = dfp.groupby('mile')['title'].nunique()\n", @@ -125,7 +202,18 @@ "cell_type": "code", "execution_count": null, "metadata": {}, - "outputs": [], + "outputs": [ + { + "ename": "", + "evalue": "", + "output_type": "error", + "traceback": [ + "\u001b[1;31mRunning cells with '/bin/python3' requires the ipykernel package.\n", + "\u001b[1;31mRun the following command to install 'ipykernel' into the Python environment. \n", + "\u001b[1;31mCommand: '/bin/python3 -m pip install ipykernel -U --user --force-reinstall'" + ] + } + ], "source": [ "mile_counts = df.groupby('mile')['count'].sum()\n", "mile_counts = mile_counts.loc[lambda x: x > 5]\n", @@ -138,7 +226,18 @@ "cell_type": "code", "execution_count": null, "metadata": {}, - "outputs": [], + "outputs": [ + { + "ename": "", + "evalue": "", + "output_type": "error", + "traceback": [ + "\u001b[1;31mRunning cells with '/bin/python3' requires the ipykernel package.\n", + "\u001b[1;31mRun the following command to install 'ipykernel' into the Python environment. \n", + "\u001b[1;31mCommand: '/bin/python3 -m pip install ipykernel -U --user --force-reinstall'" + ] + } + ], "source": [ "\n", "plt.pie(mile_counts, labels=mile_counts.index, autopct='%0.1f%%')\n", @@ -151,7 +250,18 @@ "cell_type": "code", "execution_count": null, "metadata": {}, - "outputs": [], + "outputs": [ + { + "ename": "", + "evalue": "", + "output_type": "error", + "traceback": [ + "\u001b[1;31mRunning cells with '/bin/python3' requires the ipykernel package.\n", + "\u001b[1;31mRun the following command to install 'ipykernel' into the Python environment. \n", + "\u001b[1;31mCommand: '/bin/python3 -m pip install ipykernel -U --user --force-reinstall'" + ] + } + ], "source": [ "type(mile_counts)" ] @@ -167,7 +277,18 @@ "cell_type": "code", "execution_count": null, "metadata": {}, - "outputs": [], + "outputs": [ + { + "ename": "", + "evalue": "", + "output_type": "error", + "traceback": [ + "\u001b[1;31mRunning cells with '/bin/python3' requires the ipykernel package.\n", + "\u001b[1;31mRun the following command to install 'ipykernel' into the Python environment. \n", + "\u001b[1;31mCommand: '/bin/python3 -m pip install ipykernel -U --user --force-reinstall'" + ] + } + ], "source": [ "closed_months = pd.to_datetime(df['closedAt'], format='ISO8601')\n", "df['closed_month'] = closed_months.dt.month\n", @@ -178,7 +299,18 @@ "cell_type": "code", "execution_count": null, "metadata": {}, - "outputs": [], + "outputs": [ + { + "ename": "", + "evalue": "", + "output_type": "error", + "traceback": [ + "\u001b[1;31mRunning cells with '/bin/python3' requires the ipykernel package.\n", + "\u001b[1;31mRun the following command to install 'ipykernel' into the Python environment. \n", + "\u001b[1;31mCommand: '/bin/python3 -m pip install ipykernel -U --user --force-reinstall'" + ] + } + ], "source": [ "df['mile'] = [d.get('title') if d else None for d in df.milestone]" ] @@ -187,7 +319,18 @@ "cell_type": "code", "execution_count": null, "metadata": {}, - "outputs": [], + "outputs": [ + { + "ename": "", + "evalue": "", + "output_type": "error", + "traceback": [ + "\u001b[1;31mRunning cells with '/bin/python3' requires the ipykernel package.\n", + "\u001b[1;31mRun the following command to install 'ipykernel' into the Python environment. \n", + "\u001b[1;31mCommand: '/bin/python3 -m pip install ipykernel -U --user --force-reinstall'" + ] + } + ], "source": [ "\n", "dfg = df.groupby(['mile', 'closed_month']).count().reset_index()\n", @@ -198,7 +341,18 @@ "cell_type": "code", "execution_count": null, "metadata": {}, - "outputs": [], + "outputs": [ + { + "ename": "", + "evalue": "", + "output_type": "error", + "traceback": [ + "\u001b[1;31mRunning cells with '/bin/python3' requires the ipykernel package.\n", + "\u001b[1;31mRun the following command to install 'ipykernel' into the Python environment. \n", + "\u001b[1;31mCommand: '/bin/python3 -m pip install ipykernel -U --user --force-reinstall'" + ] + } + ], "source": [ "exclude_from_chart = [\n", "\t'Job Aid Ideas']\n", @@ -211,7 +365,18 @@ "cell_type": "code", "execution_count": null, "metadata": {}, - "outputs": [], + "outputs": [ + { + "ename": "", + "evalue": "", + "output_type": "error", + "traceback": [ + "\u001b[1;31mRunning cells with '/bin/python3' requires the ipykernel package.\n", + "\u001b[1;31mRun the following command to install 'ipykernel' into the Python environment. \n", + "\u001b[1;31mCommand: '/bin/python3 -m pip install ipykernel -U --user --force-reinstall'" + ] + } + ], "source": [ "import seaborn as sns\n", "import matplotlib.pyplot as plt\n", @@ -252,7 +417,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.12.2" + "version": "3.8.10" } }, "nbformat": 4, diff --git a/files/vscodium/keybindings.json b/files/vscodium/keybindings.json index e0cf2dc..02a0a66 100644 --- a/files/vscodium/keybindings.json +++ b/files/vscodium/keybindings.json @@ -29,18 +29,13 @@ "command": "workbench.view.search.focus" }, { - "key": "shift+alt+6", - "command": "workbench.action.toggleSidebarVisibility" + "key": "shift+alt+4", + "command": "workbench.action.terminal.toggleTerminal", }, { "key": "ctrl+b", "command": "-workbench.action.toggleSidebarVisibility" }, - { - "key": "shift+alt+4", - "command": "workbench.action.terminal.toggleTerminal", - "when": "terminal.active" - }, { "key": "ctrl+`", "command": "-workbench.action.terminal.toggleTerminal", @@ -49,5 +44,15 @@ { "key": "shift+alt+5", "command": "workbench.action.toggleMaximizedPanel" + }, + { + "key": "shift+alt+6", + "command": "workbench.action.toggleZenMode", + "when": "!isAuxiliaryWindowFocusedContext" + }, + { + "key": "ctrl+k z", + "command": "-workbench.action.toggleZenMode", + "when": "!isAuxiliaryWindowFocusedContext" } ] \ No newline at end of file diff --git a/files/vscodium/settings.json b/files/vscodium/settings.json index 872d2fa..7bb3ae5 100644 --- a/files/vscodium/settings.json +++ b/files/vscodium/settings.json @@ -259,7 +259,7 @@ "editor.fontFamily": "Cascadia Code PL,Consolas, 'Courier New', monospace", - "workbench.startupEditor": "none", + "workbench.startupEditor": "terminal", "dashboard.projectData": null, @@ -381,7 +381,20 @@ }, - "files.autoSave": "onFocusChange" + "files.autoSave": "onFocusChange", + "workbench.editor.showTabs": "none", + "zenMode.showTabs": "none", + "zenMode.centerLayout": false, + "zenMode.fullScreen": false, + "zenMode.hideLineNumbers": false, + "zenMode.hideStatusBar": false, + "terminal.integrated.accessibleViewFocusOnCommandExecution": true, + "terminal.integrated.tabs.focusMode": "singleClick", + "terminal.integrated.tabs.hideCondition": "never", + "workbench.panel.defaultLocation": "left", + "terminal.integrated.shellIntegration.decorationsEnabled": "overviewRuler", + "terminal.explorerKind": "external", + "terminal.integrated.tabs.enabled": false // "journal.base": "~/Documents" }