Run this command in powershell as administrator
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
| This uses llm.datasette.io and OpenAI. | |
| I use `git commit --template` to provide the output from the LLM to Git. This way, if you do not like the results, you | |
| can quit your editor and no commit will be made. | |
| # Shell function for generating a diff and editing it in your default editor: | |
| gcllm() { | |
| GIT_DIR="$(git rev-parse --git-dir)" | |
| TEMPLATE="$GIT_DIR/COMMIT_EDITMSG_TEMPLATE" |
Run this command in powershell as administrator
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
Run this command in powershell as administrator
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
| // vscode-keybindings for navigation with I/J/K/L and additional functionality with surrounding characters | |
| // Place your key bindings in this file to overwrite the defaults | |
| // ALT + I/J/K/L: up/left/down/right | |
| // ALT + SHIFT + I/J/K/L: mark text up/left/down/right | |
| // CTRL + J/L: send cursor to start/end of line | |
| // CTRL + ALT + J/L: send cursor to start/end of word | |
| // CTRL + ALT + U/O: send cursor to "wordPartLeft"/"wordPartRight" | |
| // CTRL + ALT + SHIFT + U/O: mark from cursor to "wordPartLeft"/"wordPartRight" | |
| // CTRL + ALT + Y: got to declaration |
I recently switched over to neovim (see my screenshots at the bottom). Below is my updated config file.
It's currently synchronized with my .vimrc config except for a block of neovim-specific terminal key mappings.
This is still a work in progress (everyone's own config is always a labor of love), but I'm already extremely pleased with how well this is working for me with neovim. While terminal mode isn't enough to make me stop using tmux, it is quite good and I like having it since it simplifies my documentation workflow for yanking terminal output to paste in a markdown buffer.
These days I primarily develop in Go. I'm super thrilled and grateful for fatih/vim-go,
Markdown - это облегчённый язык разметки, который преобразует текст в структурированный HTML. Следующее руководство поможет вам разобраться, как использовать Markdown.
# Заголовок первого уровня
## Заголовок второго уровня
### Заголовок третьего уровня
#### Заголовок четвёртого уровня
##### Заголовок пятого уровня
| #!/usr/bin/env python2 | |
| # -*- coding: utf-8 -*- | |
| """ | |
| Скрипт для скачивания музыки с сайта vkontakte.ru (vk.com) | |
| Запуск: | |
| python vkcom_audio_download.py | |
| Принцип работы: | |
| Скрипт проверяет сохраненный access_token. Если его нет или срок истек, |
| // Reference: http://stackoverflow.com/questions/4822471/count-number-of-lines-in-a-git-repository | |
| $ git ls-files | xargs wc -l |
Inspiration: Deis Commit Style Guide
I often quote Deis in sections below.
It makes going back and reading commits easier. It also allows you to spend less time thinking about what your commit message should be.