sublime-text-config
所属分类:collect
开发工具:PHP
文件大小:0KB
下载次数:0
上传日期:2024-01-23 06:37:04
上 传 者:
sh-1993
说明: 编程工作空间设置。类似于
(Programming workspace setups. Similar to)
文件列表:
sublime-merge/Packages/User/
sublime-text/Packages/User/
LICENSE
# Reason of archiving
I have fully migrated to [Vim](https://github.com/Endermanbugzjfc/sublime-text-config/blob/master/#actual-vim) due to the lack of functionalities in Sublime Text. I got in touch with it in 2019, I lapped all these great old memories. It is time to say goodbye.
Note: I still use [Sublime Merge](https://github.com/Endermanbugzjfc/sublime-text-config/blob/master/https://www.sublimemerge.com/), a highly optimised and nice-looking Git GUI, which I strongly recommend.
# DotConfig
Programming workspace setups. Similar to https://github.com/SOF3/nvim-config.
# Sublime Text
**Note: Vintage Command Mode refers to the Vim Normal Mode.**
## Global
| Feature | Hotkey | Driver Plugin |
| ------------------------------------------ | :--------------------------------------------------------------------------------: | :------------------------------------------------------: |
| Vim like keys set with some customizations | - | [Vintage](https://github.com/Endermanbugzjfc/sublime-text-config/blob/master/https://github.com/sublimehq/Vintage) |
| Open sidebar | Command+` | - | - [x] Open sidebar: |
| Open a terminal tab | Command+O | [Terminus](https://github.com/Endermanbugzjfc/sublime-text-config/blob/master/https://packagecontrol.io/packages/Terminus) |
| View current file#line on GitHub | Command+\\ | [GitHubinator](https://github.com/Endermanbugzjfc/sublime-text-config/blob/master/https://github.com/ehamiter/GitHubinator) |
| Go to code definition | Vintage Command Mode: Shift+K, Shift+K | Per language |
| Go to next problem in file | Vintage Command Mode: Shift+K, Shift+M | [SublimeLinter](https://github.com/Endermanbugzjfc/sublime-text-config/blob/master/http://sublimelinter.com/) |
## PHP
| Feature | Hotkey | Driver Plugin | Driver File |
| ---------------------------------- | :--------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| Code linting | Command+S _(on save)_ | [SublimeLinter-contrib-phpstan](https://github.com/Endermanbugzjfc/sublime-text-config/blob/master/https://github.com/Rockstar04/SublimeLinter-contrib-phpstan) | $PATH/[phpstan](https://github.com/Endermanbugzjfc/sublime-text-config/blob/master/https://github.com/Endermanbugzjfc/DotConfig/blob/master/sublime-text/Packages/User/phpstan.sh) |
| Code standard fixing | Command+S _(on save)_ | [Phpcs](https://github.com/Endermanbugzjfc/sublime-text-config/blob/master/https://github.com/benmatselby/sublime-phpcs) | $COMPOSER_HOME/vendor/bin/php-cs-fixer.phar |
| Import class of the caret position | Vintage Command Mode: Shift+K, Shift+J | [PHP Companion](https://github.com/Endermanbugzjfc/sublime-text-config/blob/master/https://github.com/erichard/SublimePHPCompanion) | vendor/\* _(please disable [`index_exclude_gitignore`](https://github.com/Endermanbugzjfc/sublime-text-config/blob/master/https://github.com/Endermanbugzjfc/DotConfig/blob/master/sublime-text/Packages/User/Preferences.sublime-settings#L25))_ |
| Go to class function definition: | Same as global | - | vendor/\* _(please disable [`index_exclude_gitignore`](https://github.com/Endermanbugzjfc/sublime-text-config/blob/master/https://github.com/Endermanbugzjfc/DotConfig/blob/master/sublime-text/Packages/User/Preferences.sublime-settings#L25))_ |
## Go
| Feature | Hotkey | Driver Plugin | Driver File |
| ----------------------------------------- | :-----------------------------------------: | :---------------------------------------------------------------------------------------: | :------------------: |
| go.mod / go.sum files syntax highlighting | - | [Gomod](https://github.com/Endermanbugzjfc/sublime-text-config/blob/master/https://github.com/mitranim/sublime-gomod) | - |
| Code linting | Command+S _(on save)_ | [SublimeLinter-golangcilint](https://github.com/Endermanbugzjfc/sublime-text-config/blob/master/https://github.com/SublimeLinter/SublimeLinter-golangcilint) | $GOBIN/golangci-lint |
| Code formatting | Command+S _(on save)_ | [GoFmt](https://github.com/Endermanbugzjfc/sublime-text-config/blob/master/https://github.com/noonat/sublime-gofmt) | $GOROOT/bin/goimports |
| Go to function definition | Same as global | [GoGuru](https://github.com/Endermanbugzjfc/sublime-text-config/blob/master/http://alvarolm.github.io/GoGuru) | $GOBIN/guru |
# Vim
| Feature | Hotkey | Driver Plugin |
| --------- | -------- | ------- |
| Permanently disabling all possbile methods to exit Vim which prevents me from being lazy | Vim Normal Mode: :, q, Enter | [https://github.com/Endermanbugzjfc/IDESleeperUltimate](https://github.com/Endermanbugzjfc/sublime-text-config/blob/master/https://www.youtube.com/watch?v=dQw4w9WgXcQ) |
# Actual Vim
https://github.com/Endermanbugzjfc/nvim-config
近期下载者:
相关文件:
收藏者: