문제

One of the nicer features in MacVim is that it is possible to use the usual OS commands for copying and pasting text (namely command+C and command+V) in it.

This is especially nice in situations when you’ve worked in another editor just a minute before and your brain isn’t ready yet to advise your fingers on how to type the real thing.

However, there’s one thing my brain needs to do quite a little thinking on: It’s the text selecting mode. In non-vi editors, I’d use Shift+Arrow for this and trying this in MacVim doesn’t work. But on the other hand it does not look to me that Shift+Arrow is being used for anything else either. Is it possible to remap the keys in order to make this possible?

(Ideally, the editor would still be in insertion mode after having selected the text; that would spare some additional key strokes.)

도움이 되었습니까?

해결책

훨씬 더 유연한 솔루션을 얻으려면 둘 다 사용하지 않으시겠습니까?

접근법 1 : 페이지, 목록 및 워크 플로를 가져갈 수 있습니다. 귀하의 요구 사항이 간단한 목록 양식과 워크 플로우에 의해 충족되면 코딩 솔루션에 들어가는 이유는 무엇입니까?SharePoint가 만들어진 것처럼, 인생을 쉽게 만들 수 있습니다!

접근 2 : 목록 양식 및 SharePoint Designer 중에는 OOB를 사용하여 수행 할 수없는 것 같으면 코드로 이동하여 기능 중 일부를 시각적 웹 파트 또는 이벤트 수신기 또는 타이머 작업으로 추가 할 수 있습니다.어쩌면!

우리는 일반적으로 둘 다 함께 사용합니다 ... 배포 당 귀하는이 질문을 읽을 수 있습니다 :
생성 / 브랜딩의 솔루션 및 기능 사용SharePoint 웹 사이트

다른 팁

As a note to self and a neat hint for others:

Since SHIFT+Arrow selection and mouse selection now automatically starts SELECT mode, this means that it is apparently not as easy to make a VISUAL selection by using the mouse or arrow keys. (Even when already in VISUAL mode a mouse selection will still trigger SELECT mode.) Therefore, whenever one wants to apply commands to the selection, the following method helps.

  • Select the text using mouse or SHIFT+Arrow
  • Unselect by pressing ESC
  • Press gv to automatically reselect the previous selection and trigger VISUAL mode

Edit: Same can be done using simply CTRL + g.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top