added ,-b to toggle minibuf explorer, added .atom setting changes

pull/1/head
Adam Veldhousen 10 years ago
parent 3f787f3031
commit 7037dce13b

@ -1,11 +1,19 @@
'editor':
'fontSize': 16
'fontSize': 12
'showIndentGuide': true
'showInvisibles': true
'preferredLineLength': 75
'core':
'themes': [
'spacegray-mocha-ui'
'jellybeans'
]
'useReactEditor': true
'projectHome': 'C:\\Projects'
'audioBeep': false
'disabledPackages': [
'welcome'
]
'exception-reporting':
'userId': '1c9d1b3d-fdb9-e390-da2c-bd840428aa77'
'welcome':

@ -2,7 +2,9 @@
Open terminal on current file's directory with `ctrl-shift-t`.
Keybinding: `ctrl-shift-t`
Open a terminal in the project's root directory with `alt-shift-t`.
Keybindings: `ctrl-shift-t`, `alt-shift-t`
Install: `apm install atom-terminal`

@ -9,3 +9,4 @@
# https://atom.io/docs/latest/advanced/keymaps
'.workspace':
'ctrl-shift-t': 'atom-terminal:open'
'alt-shift-t': 'atom-terminal:open-project-root'

@ -16,7 +16,7 @@ open_terminal = (dirpath) ->
runDirectly = atom.config.get('atom-terminal.MacWinRunDirectly')
# Start assembling the command line
cmdline = "#{app} #{args}"
cmdline = "\"#{app}\" #{args}"
# If we do not supress the directory argument, add the directory as an argument
if !surpressDirArg
@ -28,7 +28,7 @@ open_terminal = (dirpath) ->
# for windows, we prepend start unless we run it directly.
if platform() == "win32" && !runDirectly
cmdline = "start " + cmdline
cmdline = "start \"\" " + cmdline
# Set the working directory if configured
if setWorkingDirectory
@ -40,10 +40,14 @@ open_terminal = (dirpath) ->
module.exports =
activate: ->
atom.workspaceView.command "atom-terminal:open", => @open()
atom.workspaceView.command "atom-terminal:open-project-root", => @openroot()
open: ->
filepath = atom.workspaceView.find('.tree-view .selected')?.view()?.getPath?()
if filepath
open_terminal path.dirname(filepath)
openroot: ->
if atom.project.path
open_terminal atom.project.path
# Set per-platform defaults
if platform() == 'darwin'

@ -1,10 +1,11 @@
{
"name": "atom-terminal",
"main": "./lib/atom-terminal",
"version": "0.4.0",
"version": "0.5.0",
"description": "Open terminal in the current file's directory.",
"activationEvents": [
"atom-terminal:open"
"atom-terminal:open",
"atom-terminal:open-project-root"
],
"repository": {
"type": "git",
@ -15,16 +16,16 @@
"atom": ">0.50.0"
},
"dependencies": {},
"readme": "# atom-terminal\n\nOpen terminal on current file's directory with `ctrl-shift-t`.\n\nKeybinding: `ctrl-shift-t`\n\nInstall: `apm install atom-terminal`\n\n![atom-terminal](https://raw.github.com/karan/atom-terminal/master/terminal.gif)\n",
"readme": "# atom-terminal\n\nOpen terminal on current file's directory with `ctrl-shift-t`.\n\nOpen a terminal in the project's root directory with `alt-shift-t`. \n\nKeybindings: `ctrl-shift-t`, `alt-shift-t`\n\nInstall: `apm install atom-terminal`\n\n![atom-terminal](https://raw.github.com/karan/atom-terminal/master/terminal.gif)\n",
"readmeFilename": "README.md",
"bugs": {
"url": "https://github.com/karan/atom-terminal/issues"
},
"homepage": "https://github.com/karan/atom-terminal",
"_id": "atom-terminal@0.4.0",
"_id": "atom-terminal@0.5.0",
"dist": {
"shasum": "3a99b5a114f131327a109c891e5d684ad4364cdb"
"shasum": "65b9014a4568097dc6534231963286eefbf308c5"
},
"_resolved": "C:\\Users\\Adam\\AppData\\Local\\Temp\\d-114614-2816-1jjfr4z\\package.tgz",
"_from": "C:\\Users\\Adam\\AppData\\Local\\Temp\\d-114614-2816-1jjfr4z\\package.tgz"
"_resolved": "C:\\Users\\Adam\\AppData\\Local\\Temp\\d-114628-528-26f7q\\package.tgz",
"_from": "C:\\Users\\Adam\\AppData\\Local\\Temp\\d-114628-528-26f7q\\package.tgz"
}

BIN
.vimrc

Binary file not shown.

@ -31,4 +31,5 @@ git://github.com/digitaltoad/vim-jade.git
git://github.com/airblade/vim-gitgutter.git
git://github.com/kien/ctrlp.vim.git
git://github.com/Lokaltog/vim-easymotion.git
git://github.com/Valloric/YouCompleteMe.git
git://github.com/OrangeT/vim-csharp.git
git://github.com/fholgado/minibufexpl.vim.git

Loading…
Cancel
Save