From 64e424f6bc607b5faed2c5a350d4979b3c2f963c Mon Sep 17 00:00:00 2001
From: wsdjeg <wsdjeg@163.com>
Date: Fri, 2 Jun 2017 00:05:55 +0800
Subject: [PATCH] Add SPC j o for open line

---
 autoload/SpaceVim/layers/default.vim | 1 +
 docs/documentation.md                | 7 ++++---
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/autoload/SpaceVim/layers/default.vim b/autoload/SpaceVim/layers/default.vim
index e725568b2..cd6681846 100644
--- a/autoload/SpaceVim/layers/default.vim
+++ b/autoload/SpaceVim/layers/default.vim
@@ -77,6 +77,7 @@ function! SpaceVim#layers#default#config() abort
     call SpaceVim#mapping#space#def('nmap', ['j', 'w'], '<Plug>(easymotion-bd-jk)', 'jump to a line', 0)
     call SpaceVim#mapping#space#def('nmap', ['j', 'q'], '<Plug>(easymotion-bd-jk)', 'jump to a line', 0)
     call SpaceVim#mapping#space#def('nnoremap', ['j', 'n'], "i\<cr>\<esc>", 'sp-newline', 0)
+    call SpaceVim#mapping#space#def('nnoremap', ['j', 'o'], "i\<cr>\<esc>k$", 'open-line', 0)
     call SpaceVim#mapping#space#def('nnoremap', ['j', 's'], 'call call('
                 \ . string(s:_function('s:split_string')) . ', [0])',
                 \ 'split sexp', 1)
diff --git a/docs/documentation.md b/docs/documentation.md
index 6354e3131..4c50eebce 100644
--- a/docs/documentation.md
+++ b/docs/documentation.md
@@ -639,9 +639,9 @@ Key Binding | Description
 ----------- | -----------
 `SPC j 0` | go to the beginning of line (and set a mark at the previous location in the line)
 `SPC j $` | go to the end of line (and set a mark at the previous location in the line)
-`SPC j b` | undo a jump (go back to previous location)
-`SPC j f` | jump backward
-`SPC j d` | jump forward
+`SPC j b` | jump backward
+`SPC j f` | jump forward
+`SPC j d` | jump to a listing of the current directory
 `SPC j D` | jump to a listing of the current directory (other window)
 `SPC j i` | jump to a definition in buffer (denite outline)
 `SPC j I` | jump to a definition in any buffer (denite outline)
@@ -661,6 +661,7 @@ Key Binding | Description
 `J` | join the current line with the next line
 `SPC j k` | go to next line and indent it using auto-indent rules
 `SPC j n` | split the current line at point, insert a new line and auto-indent
+`SPC j o` | split the current line at point but let point on current line
 `SPC j s` | split a quoted string or s-expression in place
 `SPC j S` | split a quoted string or s-expression, insert a new line and auto-indent