Greetings from Greece :D
In my effort to learn English Dvorak layout, which I liked btw, i tried to find a Greek Dvorak layout. I tried Ukelele (mac user), to create a layout from scratch since there are no any available online. The problem is with a single Greek Character/symbol,tone.
In it's single format is just this: ΄
a character that i can assign on Ukelele and works fine.
But that's the part i can't really fix.
This character is being combined with the vowels of the alphabet when is needed so the result i normally get is this: ά (or, ό, ή, έ etc etc).
Ukelele can't really recognize this parameter and I can't assign the tone on the letters so I get this result instead: ΄α, ΄ο, etc etc.
Any possible solutions?
thank you for your time and help!
The thing that you need to do is create a "dead key" state. You can create one in Ukelele with the "Create" button in the tool bar.
You might be interested in a lightly custom layout that I created by applying the results of a paper I found online that suggested the creation of a new greek keyboard layout (called ΝΕΠ) and the Dvorak layout.
+---+---+---+---+---+---+---+---+---+---+
| ' | , | . | π | υ | φ | γ | δ | ρ | λ |
+---+---+---+---+---+---+---+---+---+---+
| α | ο | ε | ς | ι | ΄ | η | τ | ν | σ |
+---+---+---+---+---+---+---+---+---+---+
| ; | ψ | ξ | κ | χ | β | μ | θ | ω | ζ |
+---+---+---+---+---+---+---+---+---+---+
Related
When splitting Vim window horizontally, contents of the "old" window are scrolled so as to preserve relative cursor line position. This happens even for small "helper" buffers, like quickfix or preview window.
The text movement caused by this becomes annoying when a split is repeatedly opened and closed - e.g. preview window used by completion plugin. Is it possible to disable this feature, and don't scroll old window when splitting (unless it's necessary to keep cursor line visible)?
Example - current behavior:
+--------------+ +--------------+
| a | | b |
| b | copen | c (cursor) |
| c (cursor) | --> | d |
| d | +--------------+
| e | | (preview) |
+--------------+ +--------------+
Desired behavior:
+--------------+ +--------------+
| a | | a |
| b | copen | b |
| c (cursor) | --> | c (cursor) |
| d | +--------------+
| e | | (preview) |
+--------------+ +--------------+
I reached this question when searching for a solution to this problem myself. I couldn't find a good solution and it really bugged me so I ended up writing a small vim plugin that will solve this.
https://github.com/gillyb/stable-windows
I think it does exactly what you want it to do. I only wrote it recently, so if there's any bugs feel free to open an issue and I will try to fix them.
Hope it helps! :)
Try something like
map <F12> mcHmh:split<cr>'hzt`c
store position in c mc
H move to top
store the position to h mh
your command here split for example
got to h 'h
put this to lien to top zt and got to c
I have four windows like this:
| | | |
| A | | |
|_________| C | D |
| B | | |
| | | |
So, how can I change them into this way?
| | |
| A | C |
|_________|______|
| B | D |
| | |
the
ctrl+W/J/K/L
thing is always moving the window to the far other side, I can't use them to do this.
Thanks!
what I can think of is two steps:
move cursor to C, press C-W c to close the window
move cursor to D, press :sp #<enter>
The idea is, close one window(buffer), and reopen it in right place (by sp or vs).
glad to know if there is easier way.
In Vim I tend to open buffers in new vertical splits (with the occasional horizontal split). I keep my code to 80 chars wide, so this works pretty well on large monitors.
I often end up with this window arrangement:
---------------------
| | | | |
| | | | |
------ | A | B |
| | | | |
| | | | |
---------------------
At four or five columns wide, it can start getting a bit too narrow, so then I want to move the windows around so it looks like this:
----------------
| | | A |
| | | |
------ ------
| | | B |
| | | |
----------------
As far as I know, this is impossible to do by moving the windows in Vim.
The only way to get that window arrangement I've found, is to close window A, and then re-open A as a new horizontal split from window B.
Is that correct, or is there a way to move/re-arrange windows like that in Vim? Maybe a plugin?
I'm yet to find anything, so I thought I would ask because I find the opening/closing of windows anoying and breaks my flow.
FWIW, I find the Ctrl-W + J / Ctrl-W + K shortcuts useless, because they make the new horizontal split as wide as the whole screen, rather than splitting with the neighbouring window. I.e. Ctrl-W + J would give me this:
----------------
| | | |
| | | |
------ | A |
| | | |
| | | |
----------------
| |
| B |
----------------
Which is generally never what I want.
If anyone has some ideas, let me know!
There's a plugin that can do exactly what you want. Here's the link : https://github.com/fabi1cazenave/suckless.vim.
I m using LWUIT in J2ME. I want to create list with 5 column and multiple row. How can done this.? I want to add data on list,and data is come from Network? plz help me. I attached my desire output image. Thanks in advance.
Eg
shape | cut | color | clarity | carats
round | o | i | i1 | 1.000
abc | w | u | s | 2.300
-- | -- | - | - | -----
-- -- - - ----
--
I suggest you use a Table and not a List.
If you want a List you can use the new Container list (see the Grid Demo in the Scrolling portion of the LWUIT demo).
I try to draw a class diagram using Vim.
I fill the editor window with white-spaces.
Type :match SpellBad /\s/ to highlight all the white-spaces.
Ctrl+Q to select vertical white-spaces.
Shift+I to insert Bar(|) and then Esc
...........................
v+l +... + l to select horizontal white-spaces
But I don't know how to change all selected horizontal white-spaces to underscore(_).
I have to hit _ serval times.
When comes to long horizontal line, it's bad.
___________ ___________
| | | |
| BaseClass |/__________| Client |
|___________|\ |___________|
/_\
|
|____________________________________
| | |
_____|_____ _____|_____ _____|_____
| | | | | |
| SubClass1 | | SubClass2 | | SubClass3 |
|___________| |___________| |■■■■■■■■■■■|
I want a quick method to do this.
Select it -> Change it -> Done!
Maybe map F6 to do it.
Thanks!
After everything you want to change is highlighted, type r_.
There are plenty of tools for making ascii diagrams, and converting them to graphical UML. Why don't you try one of those?
e.g.
http://www.jave.de/
http://ditaa.sourceforge.net/
http://www.diku.dk/hjemmesider/studerende/firefly/stud.html